From 46436c2697200bfc387d56808344111cce6a8449 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 18 Mar 2024 19:10:30 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= 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/config/v1/ConfigClient.java | 0 .../cloud/config/v1/ConfigSettings.java | 1 - .../cloud/config/v1/gapic_metadata.json | 0 .../google/cloud/config/v1/package-info.java | 0 .../cloud/config/v1/stub/ConfigStub.java | 0 .../config/v1/stub/ConfigStubSettings.java | 0 .../v1/stub/GrpcConfigCallableFactory.java | 0 .../cloud/config/v1/stub/GrpcConfigStub.java | 1 - .../stub/HttpJsonConfigCallableFactory.java | 0 .../config/v1/stub/HttpJsonConfigStub.java | 1 - .../reflect-config.json | 0 .../config/v1/ConfigClientHttpJsonTest.java | 0 .../cloud/config/v1/ConfigClientTest.java | 0 .../google/cloud/config/v1/MockConfig.java | 0 .../cloud/config/v1/MockConfigImpl.java | 0 .../google/cloud/config/v1/MockIAMPolicy.java | 0 .../cloud/config/v1/MockIAMPolicyImpl.java | 0 .../google/cloud/config/v1/MockLocations.java | 0 .../cloud/config/v1/MockLocationsImpl.java | 0 .../google/cloud/config/v1/ConfigGrpc.java | 2904 +++++++++++++++++ .../google/cloud/config/v1/ApplyResults.java | 646 ++-- .../config/v1/ApplyResultsOrBuilder.java | 66 +- .../google/cloud/config/v1/ConfigProto.java | 1256 +++++++ .../config/v1/CreateDeploymentRequest.java | 639 ++-- .../v1/CreateDeploymentRequestOrBuilder.java | 73 +- .../cloud/config/v1/CreatePreviewRequest.java | 639 ++-- .../v1/CreatePreviewRequestOrBuilder.java | 78 +- .../config/v1/DeleteDeploymentRequest.java | 626 ++-- .../v1/DeleteDeploymentRequestOrBuilder.java | 61 +- .../cloud/config/v1/DeletePreviewRequest.java | 443 ++- .../v1/DeletePreviewRequestOrBuilder.java | 52 +- .../config/v1/DeleteStatefileRequest.java | 381 ++- .../v1/DeleteStatefileRequestOrBuilder.java | 38 +- .../google/cloud/config/v1/Deployment.java | 2866 ++++++++++------ .../cloud/config/v1/DeploymentName.java | 0 .../v1/DeploymentOperationMetadata.java | 697 ++-- .../DeploymentOperationMetadataOrBuilder.java | 50 +- .../cloud/config/v1/DeploymentOrBuilder.java | 363 ++- .../v1/ExportDeploymentStatefileRequest.java | 387 ++- ...rtDeploymentStatefileRequestOrBuilder.java | 38 +- .../config/v1/ExportLockInfoRequest.java | 347 +- .../v1/ExportLockInfoRequestOrBuilder.java | 57 + .../config/v1/ExportPreviewResultRequest.java | 350 +- .../ExportPreviewResultRequestOrBuilder.java | 59 + .../v1/ExportPreviewResultResponse.java | 397 ++- .../ExportPreviewResultResponseOrBuilder.java | 67 + .../v1/ExportRevisionStatefileRequest.java | 353 +- ...portRevisionStatefileRequestOrBuilder.java | 59 + .../cloud/config/v1/GetDeploymentRequest.java | 347 +- .../v1/GetDeploymentRequestOrBuilder.java | 57 + .../cloud/config/v1/GetPreviewRequest.java | 340 +- .../config/v1/GetPreviewRequestOrBuilder.java | 57 + .../cloud/config/v1/GetResourceRequest.java | 340 +- .../v1/GetResourceRequestOrBuilder.java | 57 + .../cloud/config/v1/GetRevisionRequest.java | 340 +- .../v1/GetRevisionRequestOrBuilder.java | 57 + .../config/v1/GetTerraformVersionRequest.java | 350 +- .../GetTerraformVersionRequestOrBuilder.java | 57 + .../com/google/cloud/config/v1/GitSource.java | 467 +-- .../cloud/config/v1/GitSourceOrBuilder.java | 54 +- .../config/v1/ImportStatefileRequest.java | 415 ++- .../v1/ImportStatefileRequestOrBuilder.java | 41 +- .../config/v1/ListDeploymentsRequest.java | 600 ++-- .../v1/ListDeploymentsRequestOrBuilder.java | 65 +- .../config/v1/ListDeploymentsResponse.java | 592 ++-- .../v1/ListDeploymentsResponseOrBuilder.java | 63 +- .../cloud/config/v1/ListPreviewsRequest.java | 589 ++-- .../v1/ListPreviewsRequestOrBuilder.java | 65 +- .../cloud/config/v1/ListPreviewsResponse.java | 583 ++-- .../v1/ListPreviewsResponseOrBuilder.java | 64 +- .../cloud/config/v1/ListResourcesRequest.java | 592 ++-- .../v1/ListResourcesRequestOrBuilder.java | 65 +- .../config/v1/ListResourcesResponse.java | 587 ++-- .../v1/ListResourcesResponseOrBuilder.java | 63 +- .../cloud/config/v1/ListRevisionsRequest.java | 592 ++-- .../v1/ListRevisionsRequestOrBuilder.java | 65 +- .../config/v1/ListRevisionsResponse.java | 587 ++-- .../v1/ListRevisionsResponseOrBuilder.java | 63 +- .../v1/ListTerraformVersionsRequest.java | 599 ++-- ...ListTerraformVersionsRequestOrBuilder.java | 65 +- .../v1/ListTerraformVersionsResponse.java | 570 ++-- ...istTerraformVersionsResponseOrBuilder.java | 63 +- .../google/cloud/config/v1/LocationName.java | 0 .../config/v1/LockDeploymentRequest.java | 347 +- .../v1/LockDeploymentRequestOrBuilder.java | 57 + .../com/google/cloud/config/v1/LockInfo.java | 643 ++-- .../cloud/config/v1/LockInfoOrBuilder.java | 65 +- .../cloud/config/v1/OperationMetadata.java | 1171 ++++--- .../config/v1/OperationMetadataOrBuilder.java | 131 +- .../com/google/cloud/config/v1/Preview.java | 2449 +++++++++----- .../cloud/config/v1/PreviewArtifacts.java | 384 ++- .../config/v1/PreviewArtifactsOrBuilder.java | 36 +- .../google/cloud/config/v1/PreviewName.java | 0 .../config/v1/PreviewOperationMetadata.java | 677 ++-- .../v1/PreviewOperationMetadataOrBuilder.java | 50 +- .../cloud/config/v1/PreviewOrBuilder.java | 296 +- .../google/cloud/config/v1/PreviewResult.java | 381 ++- .../config/v1/PreviewResultOrBuilder.java | 36 +- .../cloud/config/v1/QuotaValidation.java | 82 +- .../com/google/cloud/config/v1/Resource.java | 1083 +++--- .../cloud/config/v1/ResourceCAIInfo.java | 312 +- .../config/v1/ResourceCAIInfoOrBuilder.java | 27 +- .../google/cloud/config/v1/ResourceName.java | 0 .../cloud/config/v1/ResourceOrBuilder.java | 125 +- .../config/v1/ResourceTerraformInfo.java | 463 +-- .../v1/ResourceTerraformInfoOrBuilder.java | 45 +- .../com/google/cloud/config/v1/Revision.java | 2454 +++++++++----- .../google/cloud/config/v1/RevisionName.java | 0 .../cloud/config/v1/RevisionOrBuilder.java | 295 +- .../com/google/cloud/config/v1/Statefile.java | 305 +- .../cloud/config/v1/StatefileOrBuilder.java | 27 +- .../cloud/config/v1/TerraformBlueprint.java | 791 +++-- .../v1/TerraformBlueprintOrBuilder.java | 80 +- .../cloud/config/v1/TerraformError.java | 494 +-- .../config/v1/TerraformErrorOrBuilder.java | 47 +- .../cloud/config/v1/TerraformOutput.java | 358 +- .../config/v1/TerraformOutputOrBuilder.java | 29 +- .../cloud/config/v1/TerraformVariable.java | 325 +- .../config/v1/TerraformVariableOrBuilder.java | 26 +- .../cloud/config/v1/TerraformVersion.java | 891 +++-- .../cloud/config/v1/TerraformVersionName.java | 0 .../config/v1/TerraformVersionOrBuilder.java | 98 +- .../config/v1/UnlockDeploymentRequest.java | 381 ++- .../v1/UnlockDeploymentRequestOrBuilder.java | 70 + .../config/v1/UpdateDeploymentRequest.java | 592 ++-- .../v1/UpdateDeploymentRequestOrBuilder.java | 64 +- .../proto/google/cloud/config/v1/config.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../config/create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateDeployment.java | 0 .../AsyncCreateDeploymentLRO.java | 0 .../SyncCreateDeployment.java | 0 ...eploymentLocationnameDeploymentString.java | 0 ...reateDeploymentStringDeploymentString.java | 0 .../createpreview/AsyncCreatePreview.java | 0 .../createpreview/AsyncCreatePreviewLRO.java | 0 .../createpreview/SyncCreatePreview.java | 0 .../SyncCreatePreviewLocationnamePreview.java | 0 .../SyncCreatePreviewStringPreview.java | 0 .../AsyncDeleteDeployment.java | 0 .../AsyncDeleteDeploymentLRO.java | 0 .../SyncDeleteDeployment.java | 0 .../SyncDeleteDeploymentDeploymentname.java | 0 .../SyncDeleteDeploymentString.java | 0 .../deletepreview/AsyncDeletePreview.java | 0 .../deletepreview/AsyncDeletePreviewLRO.java | 0 .../deletepreview/SyncDeletePreview.java | 0 .../SyncDeletePreviewPreviewname.java | 0 .../SyncDeletePreviewString.java | 0 .../deletestatefile/AsyncDeleteStatefile.java | 0 .../deletestatefile/SyncDeleteStatefile.java | 0 .../SyncDeleteStatefileDeploymentname.java | 0 .../SyncDeleteStatefileString.java | 0 .../AsyncExportDeploymentStatefile.java | 0 .../SyncExportDeploymentStatefile.java | 0 .../exportlockinfo/AsyncExportLockInfo.java | 0 .../exportlockinfo/SyncExportLockInfo.java | 0 .../SyncExportLockInfoDeploymentname.java | 0 .../SyncExportLockInfoString.java | 0 .../AsyncExportPreviewResult.java | 0 .../SyncExportPreviewResult.java | 0 .../AsyncExportRevisionStatefile.java | 0 .../SyncExportRevisionStatefile.java | 0 .../getdeployment/AsyncGetDeployment.java | 0 .../getdeployment/SyncGetDeployment.java | 0 .../SyncGetDeploymentDeploymentname.java | 0 .../SyncGetDeploymentString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../config/getiampolicy/SyncGetIamPolicy.java | 0 .../config/getlocation/AsyncGetLocation.java | 0 .../config/getlocation/SyncGetLocation.java | 0 .../v1/config/getpreview/AsyncGetPreview.java | 0 .../v1/config/getpreview/SyncGetPreview.java | 0 .../getpreview/SyncGetPreviewPreviewname.java | 0 .../getpreview/SyncGetPreviewString.java | 0 .../config/getresource/AsyncGetResource.java | 0 .../config/getresource/SyncGetResource.java | 0 .../SyncGetResourceResourcename.java | 0 .../getresource/SyncGetResourceString.java | 0 .../config/getrevision/AsyncGetRevision.java | 0 .../config/getrevision/SyncGetRevision.java | 0 .../SyncGetRevisionRevisionname.java | 0 .../getrevision/SyncGetRevisionString.java | 0 .../AsyncGetTerraformVersion.java | 0 .../SyncGetTerraformVersion.java | 0 .../SyncGetTerraformVersionString.java | 0 ...tTerraformVersionTerraformversionname.java | 0 .../importstatefile/AsyncImportStatefile.java | 0 .../importstatefile/SyncImportStatefile.java | 0 ...SyncImportStatefileDeploymentnameLong.java | 0 .../SyncImportStatefileStringLong.java | 0 .../listdeployments/AsyncListDeployments.java | 0 .../AsyncListDeploymentsPaged.java | 0 .../listdeployments/SyncListDeployments.java | 0 .../SyncListDeploymentsLocationname.java | 0 .../SyncListDeploymentsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listpreviews/AsyncListPreviews.java | 0 .../listpreviews/AsyncListPreviewsPaged.java | 0 .../config/listpreviews/SyncListPreviews.java | 0 .../SyncListPreviewsLocationname.java | 0 .../listpreviews/SyncListPreviewsString.java | 0 .../listresources/AsyncListResources.java | 0 .../AsyncListResourcesPaged.java | 0 .../listresources/SyncListResources.java | 0 .../SyncListResourcesRevisionname.java | 0 .../SyncListResourcesString.java | 0 .../listrevisions/AsyncListRevisions.java | 0 .../AsyncListRevisionsPaged.java | 0 .../listrevisions/SyncListRevisions.java | 0 .../SyncListRevisionsDeploymentname.java | 0 .../SyncListRevisionsString.java | 0 .../AsyncListTerraformVersions.java | 0 .../AsyncListTerraformVersionsPaged.java | 0 .../SyncListTerraformVersions.java | 0 ...SyncListTerraformVersionsLocationname.java | 0 .../SyncListTerraformVersionsString.java | 0 .../lockdeployment/AsyncLockDeployment.java | 0 .../AsyncLockDeploymentLRO.java | 0 .../lockdeployment/SyncLockDeployment.java | 0 .../SyncLockDeploymentDeploymentname.java | 0 .../SyncLockDeploymentString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../config/setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../AsyncUnlockDeployment.java | 0 .../AsyncUnlockDeploymentLRO.java | 0 .../SyncUnlockDeployment.java | 0 ...yncUnlockDeploymentDeploymentnameLong.java | 0 .../SyncUnlockDeploymentStringLong.java | 0 .../AsyncUpdateDeployment.java | 0 .../AsyncUpdateDeploymentLRO.java | 0 .../SyncUpdateDeployment.java | 0 ...ncUpdateDeploymentDeploymentFieldmask.java | 0 .../getdeployment/SyncGetDeployment.java | 0 .../getdeployment/SyncGetDeployment.java | 0 .../google/cloud/config/v1/ConfigGrpc.java | 2245 ------------- .../google/cloud/config/v1/ConfigProto.java | 1118 ------- .../v1/ExportLockInfoRequestOrBuilder.java | 32 - .../ExportPreviewResultRequestOrBuilder.java | 34 - .../ExportPreviewResultResponseOrBuilder.java | 37 - ...portRevisionStatefileRequestOrBuilder.java | 34 - .../v1/GetDeploymentRequestOrBuilder.java | 32 - .../config/v1/GetPreviewRequestOrBuilder.java | 32 - .../v1/GetResourceRequestOrBuilder.java | 32 - .../v1/GetRevisionRequestOrBuilder.java | 32 - .../GetTerraformVersionRequestOrBuilder.java | 32 - .../v1/LockDeploymentRequestOrBuilder.java | 32 - .../v1/UnlockDeploymentRequestOrBuilder.java | 42 - 253 files changed, 27131 insertions(+), 16296 deletions(-) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java (99%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/package-info.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigCallableFactory.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java (99%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigCallableFactory.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java (99%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfig.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocations.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocationsImpl.java (100%) create mode 100644 java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java (64%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java (65%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java (69%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java (69%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java (65%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java (64%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java (50%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentName.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java (71%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java (74%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java (65%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java (54%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java (63%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java (63%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java (60%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java (63%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java (62%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java (62%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java (63%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java (63%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java (62%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java (71%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java (66%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java (56%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java (76%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java (74%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java (77%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java (74%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java (76%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java (74%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java (74%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LocationName.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java (62%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java (67%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java (69%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java (69%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java (64%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewName.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java (74%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java (68%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java (59%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java (63%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java (66%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java (53%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceName.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java (56%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java (68%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java (59%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java (69%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionName.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java (70%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java (66%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java (54%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java (63%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java (68%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java (71%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java (68%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java (60%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java (67%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java (56%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java (63%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionName.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java (59%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java (64%) create mode 100644 java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java (72%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java (79%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeploymentLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentLocationnameDeploymentString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentStringDeploymentString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreviewLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewLocationnamePreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewStringPreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeploymentLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentDeploymentname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreviewLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewPreviewname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/AsyncDeleteStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileDeploymentname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/AsyncExportDeploymentStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/SyncExportDeploymentStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/AsyncExportLockInfo.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfo.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoDeploymentname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/AsyncExportPreviewResult.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/SyncExportPreviewResult.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/AsyncExportRevisionStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/SyncExportRevisionStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/AsyncGetDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentDeploymentname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/AsyncGetPreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreview.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewPreviewname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/AsyncGetResource.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResource.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceResourcename.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/AsyncGetRevision.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevision.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionRevisionname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/AsyncGetTerraformVersion.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersion.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionTerraformversionname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/AsyncImportStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefile.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileDeploymentnameLong.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileStringLong.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeployments.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeploymentsPaged.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeployments.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsLocationname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviews.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviewsPaged.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviews.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsLocationname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResources.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResourcesPaged.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResources.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesRevisionname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisions.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisionsPaged.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisions.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsDeploymentname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersions.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersionsPaged.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersions.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsLocationname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeploymentLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentDeploymentname.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentString.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeploymentLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentDeploymentnameLong.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentStringLong.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeploymentLRO.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeploymentDeploymentFieldmask.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/configsettings/getdeployment/SyncGetDeployment.java (100%) rename {owl-bot-staging/java-infra-manager/v1 => java-infra-manager}/samples/snippets/generated/com/google/cloud/config/v1/stub/configstubsettings/getdeployment/SyncGetDeployment.java (100%) delete mode 100644 owl-bot-staging/java-infra-manager/v1/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java similarity index 99% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java index d5eb95691679..acaa23580024 100644 --- a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java @@ -34,7 +34,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.config.v1.stub.ConfigStubSettings; diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/package-info.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/package-info.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/package-info.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigCallableFactory.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigCallableFactory.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigCallableFactory.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigCallableFactory.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java similarity index 99% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java index 2629e3f50a70..b1598479ce0a 100644 --- a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java @@ -83,7 +83,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/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigCallableFactory.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigCallableFactory.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigCallableFactory.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigCallableFactory.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java similarity index 99% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java rename to java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java index 263fcce1d8fa..02345f8d0ccf 100644 --- a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java @@ -35,7 +35,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json b/java-infra-manager/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json rename to java-infra-manager/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfig.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfig.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfig.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfig.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicy.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicy.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicy.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicyImpl.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicyImpl.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocations.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocations.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocations.java diff --git a/owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocationsImpl.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocationsImpl.java rename to java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockLocationsImpl.java diff --git a/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java b/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java new file mode 100644 index 000000000000..c52d5ffa8349 --- /dev/null +++ b/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java @@ -0,0 +1,2904 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.config.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Infrastructure Manager is a managed service that automates the deployment and
+ * management of Google Cloud infrastructure resources.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/config/v1/config.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ConfigGrpc { + + private ConfigGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.config.v1.Config"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListDeploymentsRequest, + com.google.cloud.config.v1.ListDeploymentsResponse> + getListDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDeployments", + requestType = com.google.cloud.config.v1.ListDeploymentsRequest.class, + responseType = com.google.cloud.config.v1.ListDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListDeploymentsRequest, + com.google.cloud.config.v1.ListDeploymentsResponse> + getListDeploymentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListDeploymentsRequest, + com.google.cloud.config.v1.ListDeploymentsResponse> + getListDeploymentsMethod; + if ((getListDeploymentsMethod = ConfigGrpc.getListDeploymentsMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getListDeploymentsMethod = ConfigGrpc.getListDeploymentsMethod) == null) { + ConfigGrpc.getListDeploymentsMethod = + getListDeploymentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListDeploymentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListDeploymentsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListDeployments")) + .build(); + } + } + } + return getListDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetDeploymentRequest, com.google.cloud.config.v1.Deployment> + getGetDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDeployment", + requestType = com.google.cloud.config.v1.GetDeploymentRequest.class, + responseType = com.google.cloud.config.v1.Deployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetDeploymentRequest, com.google.cloud.config.v1.Deployment> + getGetDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetDeploymentRequest, com.google.cloud.config.v1.Deployment> + getGetDeploymentMethod; + if ((getGetDeploymentMethod = ConfigGrpc.getGetDeploymentMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getGetDeploymentMethod = ConfigGrpc.getGetDeploymentMethod) == null) { + ConfigGrpc.getGetDeploymentMethod = + getGetDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.GetDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Deployment.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetDeployment")) + .build(); + } + } + } + return getGetDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.CreateDeploymentRequest, com.google.longrunning.Operation> + getCreateDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDeployment", + requestType = com.google.cloud.config.v1.CreateDeploymentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.CreateDeploymentRequest, com.google.longrunning.Operation> + getCreateDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.CreateDeploymentRequest, com.google.longrunning.Operation> + getCreateDeploymentMethod; + if ((getCreateDeploymentMethod = ConfigGrpc.getCreateDeploymentMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getCreateDeploymentMethod = ConfigGrpc.getCreateDeploymentMethod) == null) { + ConfigGrpc.getCreateDeploymentMethod = + getCreateDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.CreateDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("CreateDeployment")) + .build(); + } + } + } + return getCreateDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.UpdateDeploymentRequest, com.google.longrunning.Operation> + getUpdateDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDeployment", + requestType = com.google.cloud.config.v1.UpdateDeploymentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.UpdateDeploymentRequest, com.google.longrunning.Operation> + getUpdateDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.UpdateDeploymentRequest, com.google.longrunning.Operation> + getUpdateDeploymentMethod; + if ((getUpdateDeploymentMethod = ConfigGrpc.getUpdateDeploymentMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getUpdateDeploymentMethod = ConfigGrpc.getUpdateDeploymentMethod) == null) { + ConfigGrpc.getUpdateDeploymentMethod = + getUpdateDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.UpdateDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("UpdateDeployment")) + .build(); + } + } + } + return getUpdateDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeleteDeploymentRequest, com.google.longrunning.Operation> + getDeleteDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDeployment", + requestType = com.google.cloud.config.v1.DeleteDeploymentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeleteDeploymentRequest, com.google.longrunning.Operation> + getDeleteDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeleteDeploymentRequest, com.google.longrunning.Operation> + getDeleteDeploymentMethod; + if ((getDeleteDeploymentMethod = ConfigGrpc.getDeleteDeploymentMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getDeleteDeploymentMethod = ConfigGrpc.getDeleteDeploymentMethod) == null) { + ConfigGrpc.getDeleteDeploymentMethod = + getDeleteDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.DeleteDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("DeleteDeployment")) + .build(); + } + } + } + return getDeleteDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListRevisionsRequest, + com.google.cloud.config.v1.ListRevisionsResponse> + getListRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRevisions", + requestType = com.google.cloud.config.v1.ListRevisionsRequest.class, + responseType = com.google.cloud.config.v1.ListRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListRevisionsRequest, + com.google.cloud.config.v1.ListRevisionsResponse> + getListRevisionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListRevisionsRequest, + com.google.cloud.config.v1.ListRevisionsResponse> + getListRevisionsMethod; + if ((getListRevisionsMethod = ConfigGrpc.getListRevisionsMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getListRevisionsMethod = ConfigGrpc.getListRevisionsMethod) == null) { + ConfigGrpc.getListRevisionsMethod = + getListRevisionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListRevisionsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListRevisions")) + .build(); + } + } + } + return getListRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetRevisionRequest, com.google.cloud.config.v1.Revision> + getGetRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRevision", + requestType = com.google.cloud.config.v1.GetRevisionRequest.class, + responseType = com.google.cloud.config.v1.Revision.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetRevisionRequest, com.google.cloud.config.v1.Revision> + getGetRevisionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetRevisionRequest, com.google.cloud.config.v1.Revision> + getGetRevisionMethod; + if ((getGetRevisionMethod = ConfigGrpc.getGetRevisionMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getGetRevisionMethod = ConfigGrpc.getGetRevisionMethod) == null) { + ConfigGrpc.getGetRevisionMethod = + getGetRevisionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.GetRevisionRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Revision.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetRevision")) + .build(); + } + } + } + return getGetRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetResourceRequest, com.google.cloud.config.v1.Resource> + getGetResourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetResource", + requestType = com.google.cloud.config.v1.GetResourceRequest.class, + responseType = com.google.cloud.config.v1.Resource.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetResourceRequest, com.google.cloud.config.v1.Resource> + getGetResourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetResourceRequest, com.google.cloud.config.v1.Resource> + getGetResourceMethod; + if ((getGetResourceMethod = ConfigGrpc.getGetResourceMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getGetResourceMethod = ConfigGrpc.getGetResourceMethod) == null) { + ConfigGrpc.getGetResourceMethod = + getGetResourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetResource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.GetResourceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Resource.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetResource")) + .build(); + } + } + } + return getGetResourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListResourcesRequest, + com.google.cloud.config.v1.ListResourcesResponse> + getListResourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListResources", + requestType = com.google.cloud.config.v1.ListResourcesRequest.class, + responseType = com.google.cloud.config.v1.ListResourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListResourcesRequest, + com.google.cloud.config.v1.ListResourcesResponse> + getListResourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListResourcesRequest, + com.google.cloud.config.v1.ListResourcesResponse> + getListResourcesMethod; + if ((getListResourcesMethod = ConfigGrpc.getListResourcesMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getListResourcesMethod = ConfigGrpc.getListResourcesMethod) == null) { + ConfigGrpc.getListResourcesMethod = + getListResourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListResources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListResourcesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListResourcesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListResources")) + .build(); + } + } + } + return getListResourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportDeploymentStatefileRequest, + com.google.cloud.config.v1.Statefile> + getExportDeploymentStatefileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportDeploymentStatefile", + requestType = com.google.cloud.config.v1.ExportDeploymentStatefileRequest.class, + responseType = com.google.cloud.config.v1.Statefile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportDeploymentStatefileRequest, + com.google.cloud.config.v1.Statefile> + getExportDeploymentStatefileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportDeploymentStatefileRequest, + com.google.cloud.config.v1.Statefile> + getExportDeploymentStatefileMethod; + if ((getExportDeploymentStatefileMethod = ConfigGrpc.getExportDeploymentStatefileMethod) + == null) { + synchronized (ConfigGrpc.class) { + if ((getExportDeploymentStatefileMethod = ConfigGrpc.getExportDeploymentStatefileMethod) + == null) { + ConfigGrpc.getExportDeploymentStatefileMethod = + getExportDeploymentStatefileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ExportDeploymentStatefile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ExportDeploymentStatefileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Statefile.getDefaultInstance())) + .setSchemaDescriptor( + new ConfigMethodDescriptorSupplier("ExportDeploymentStatefile")) + .build(); + } + } + } + return getExportDeploymentStatefileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportRevisionStatefileRequest, + com.google.cloud.config.v1.Statefile> + getExportRevisionStatefileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportRevisionStatefile", + requestType = com.google.cloud.config.v1.ExportRevisionStatefileRequest.class, + responseType = com.google.cloud.config.v1.Statefile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportRevisionStatefileRequest, + com.google.cloud.config.v1.Statefile> + getExportRevisionStatefileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportRevisionStatefileRequest, + com.google.cloud.config.v1.Statefile> + getExportRevisionStatefileMethod; + if ((getExportRevisionStatefileMethod = ConfigGrpc.getExportRevisionStatefileMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getExportRevisionStatefileMethod = ConfigGrpc.getExportRevisionStatefileMethod) + == null) { + ConfigGrpc.getExportRevisionStatefileMethod = + getExportRevisionStatefileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ExportRevisionStatefile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ExportRevisionStatefileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Statefile.getDefaultInstance())) + .setSchemaDescriptor( + new ConfigMethodDescriptorSupplier("ExportRevisionStatefile")) + .build(); + } + } + } + return getExportRevisionStatefileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ImportStatefileRequest, com.google.cloud.config.v1.Statefile> + getImportStatefileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportStatefile", + requestType = com.google.cloud.config.v1.ImportStatefileRequest.class, + responseType = com.google.cloud.config.v1.Statefile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ImportStatefileRequest, com.google.cloud.config.v1.Statefile> + getImportStatefileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ImportStatefileRequest, com.google.cloud.config.v1.Statefile> + getImportStatefileMethod; + if ((getImportStatefileMethod = ConfigGrpc.getImportStatefileMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getImportStatefileMethod = ConfigGrpc.getImportStatefileMethod) == null) { + ConfigGrpc.getImportStatefileMethod = + getImportStatefileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportStatefile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ImportStatefileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Statefile.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ImportStatefile")) + .build(); + } + } + } + return getImportStatefileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeleteStatefileRequest, com.google.protobuf.Empty> + getDeleteStatefileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteStatefile", + requestType = com.google.cloud.config.v1.DeleteStatefileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeleteStatefileRequest, com.google.protobuf.Empty> + getDeleteStatefileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeleteStatefileRequest, com.google.protobuf.Empty> + getDeleteStatefileMethod; + if ((getDeleteStatefileMethod = ConfigGrpc.getDeleteStatefileMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getDeleteStatefileMethod = ConfigGrpc.getDeleteStatefileMethod) == null) { + ConfigGrpc.getDeleteStatefileMethod = + getDeleteStatefileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStatefile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.DeleteStatefileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("DeleteStatefile")) + .build(); + } + } + } + return getDeleteStatefileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.LockDeploymentRequest, com.google.longrunning.Operation> + getLockDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "LockDeployment", + requestType = com.google.cloud.config.v1.LockDeploymentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.LockDeploymentRequest, com.google.longrunning.Operation> + getLockDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.LockDeploymentRequest, com.google.longrunning.Operation> + getLockDeploymentMethod; + if ((getLockDeploymentMethod = ConfigGrpc.getLockDeploymentMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getLockDeploymentMethod = ConfigGrpc.getLockDeploymentMethod) == null) { + ConfigGrpc.getLockDeploymentMethod = + getLockDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LockDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.LockDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("LockDeployment")) + .build(); + } + } + } + return getLockDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.UnlockDeploymentRequest, com.google.longrunning.Operation> + getUnlockDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UnlockDeployment", + requestType = com.google.cloud.config.v1.UnlockDeploymentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.UnlockDeploymentRequest, com.google.longrunning.Operation> + getUnlockDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.UnlockDeploymentRequest, com.google.longrunning.Operation> + getUnlockDeploymentMethod; + if ((getUnlockDeploymentMethod = ConfigGrpc.getUnlockDeploymentMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getUnlockDeploymentMethod = ConfigGrpc.getUnlockDeploymentMethod) == null) { + ConfigGrpc.getUnlockDeploymentMethod = + getUnlockDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnlockDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.UnlockDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("UnlockDeployment")) + .build(); + } + } + } + return getUnlockDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportLockInfoRequest, com.google.cloud.config.v1.LockInfo> + getExportLockInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportLockInfo", + requestType = com.google.cloud.config.v1.ExportLockInfoRequest.class, + responseType = com.google.cloud.config.v1.LockInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportLockInfoRequest, com.google.cloud.config.v1.LockInfo> + getExportLockInfoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportLockInfoRequest, com.google.cloud.config.v1.LockInfo> + getExportLockInfoMethod; + if ((getExportLockInfoMethod = ConfigGrpc.getExportLockInfoMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getExportLockInfoMethod = ConfigGrpc.getExportLockInfoMethod) == null) { + ConfigGrpc.getExportLockInfoMethod = + getExportLockInfoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportLockInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ExportLockInfoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.LockInfo.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ExportLockInfo")) + .build(); + } + } + } + return getExportLockInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.CreatePreviewRequest, com.google.longrunning.Operation> + getCreatePreviewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePreview", + requestType = com.google.cloud.config.v1.CreatePreviewRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.CreatePreviewRequest, com.google.longrunning.Operation> + getCreatePreviewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.CreatePreviewRequest, com.google.longrunning.Operation> + getCreatePreviewMethod; + if ((getCreatePreviewMethod = ConfigGrpc.getCreatePreviewMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getCreatePreviewMethod = ConfigGrpc.getCreatePreviewMethod) == null) { + ConfigGrpc.getCreatePreviewMethod = + getCreatePreviewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePreview")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.CreatePreviewRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("CreatePreview")) + .build(); + } + } + } + return getCreatePreviewMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetPreviewRequest, com.google.cloud.config.v1.Preview> + getGetPreviewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPreview", + requestType = com.google.cloud.config.v1.GetPreviewRequest.class, + responseType = com.google.cloud.config.v1.Preview.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetPreviewRequest, com.google.cloud.config.v1.Preview> + getGetPreviewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetPreviewRequest, com.google.cloud.config.v1.Preview> + getGetPreviewMethod; + if ((getGetPreviewMethod = ConfigGrpc.getGetPreviewMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getGetPreviewMethod = ConfigGrpc.getGetPreviewMethod) == null) { + ConfigGrpc.getGetPreviewMethod = + getGetPreviewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPreview")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.GetPreviewRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.Preview.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetPreview")) + .build(); + } + } + } + return getGetPreviewMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListPreviewsRequest, + com.google.cloud.config.v1.ListPreviewsResponse> + getListPreviewsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPreviews", + requestType = com.google.cloud.config.v1.ListPreviewsRequest.class, + responseType = com.google.cloud.config.v1.ListPreviewsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListPreviewsRequest, + com.google.cloud.config.v1.ListPreviewsResponse> + getListPreviewsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListPreviewsRequest, + com.google.cloud.config.v1.ListPreviewsResponse> + getListPreviewsMethod; + if ((getListPreviewsMethod = ConfigGrpc.getListPreviewsMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getListPreviewsMethod = ConfigGrpc.getListPreviewsMethod) == null) { + ConfigGrpc.getListPreviewsMethod = + getListPreviewsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPreviews")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListPreviewsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListPreviewsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListPreviews")) + .build(); + } + } + } + return getListPreviewsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeletePreviewRequest, com.google.longrunning.Operation> + getDeletePreviewMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePreview", + requestType = com.google.cloud.config.v1.DeletePreviewRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeletePreviewRequest, com.google.longrunning.Operation> + getDeletePreviewMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.DeletePreviewRequest, com.google.longrunning.Operation> + getDeletePreviewMethod; + if ((getDeletePreviewMethod = ConfigGrpc.getDeletePreviewMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getDeletePreviewMethod = ConfigGrpc.getDeletePreviewMethod) == null) { + ConfigGrpc.getDeletePreviewMethod = + getDeletePreviewMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePreview")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.DeletePreviewRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("DeletePreview")) + .build(); + } + } + } + return getDeletePreviewMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportPreviewResultRequest, + com.google.cloud.config.v1.ExportPreviewResultResponse> + getExportPreviewResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportPreviewResult", + requestType = com.google.cloud.config.v1.ExportPreviewResultRequest.class, + responseType = com.google.cloud.config.v1.ExportPreviewResultResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportPreviewResultRequest, + com.google.cloud.config.v1.ExportPreviewResultResponse> + getExportPreviewResultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ExportPreviewResultRequest, + com.google.cloud.config.v1.ExportPreviewResultResponse> + getExportPreviewResultMethod; + if ((getExportPreviewResultMethod = ConfigGrpc.getExportPreviewResultMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getExportPreviewResultMethod = ConfigGrpc.getExportPreviewResultMethod) == null) { + ConfigGrpc.getExportPreviewResultMethod = + getExportPreviewResultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ExportPreviewResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ExportPreviewResultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ExportPreviewResultResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ConfigMethodDescriptorSupplier("ExportPreviewResult")) + .build(); + } + } + } + return getExportPreviewResultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListTerraformVersionsRequest, + com.google.cloud.config.v1.ListTerraformVersionsResponse> + getListTerraformVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTerraformVersions", + requestType = com.google.cloud.config.v1.ListTerraformVersionsRequest.class, + responseType = com.google.cloud.config.v1.ListTerraformVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListTerraformVersionsRequest, + com.google.cloud.config.v1.ListTerraformVersionsResponse> + getListTerraformVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.ListTerraformVersionsRequest, + com.google.cloud.config.v1.ListTerraformVersionsResponse> + getListTerraformVersionsMethod; + if ((getListTerraformVersionsMethod = ConfigGrpc.getListTerraformVersionsMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getListTerraformVersionsMethod = ConfigGrpc.getListTerraformVersionsMethod) == null) { + ConfigGrpc.getListTerraformVersionsMethod = + getListTerraformVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListTerraformVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListTerraformVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.ListTerraformVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ConfigMethodDescriptorSupplier("ListTerraformVersions")) + .build(); + } + } + } + return getListTerraformVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetTerraformVersionRequest, + com.google.cloud.config.v1.TerraformVersion> + getGetTerraformVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTerraformVersion", + requestType = com.google.cloud.config.v1.GetTerraformVersionRequest.class, + responseType = com.google.cloud.config.v1.TerraformVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetTerraformVersionRequest, + com.google.cloud.config.v1.TerraformVersion> + getGetTerraformVersionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.config.v1.GetTerraformVersionRequest, + com.google.cloud.config.v1.TerraformVersion> + getGetTerraformVersionMethod; + if ((getGetTerraformVersionMethod = ConfigGrpc.getGetTerraformVersionMethod) == null) { + synchronized (ConfigGrpc.class) { + if ((getGetTerraformVersionMethod = ConfigGrpc.getGetTerraformVersionMethod) == null) { + ConfigGrpc.getGetTerraformVersionMethod = + getGetTerraformVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetTerraformVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.GetTerraformVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.config.v1.TerraformVersion.getDefaultInstance())) + .setSchemaDescriptor( + new ConfigMethodDescriptorSupplier("GetTerraformVersion")) + .build(); + } + } + } + return getGetTerraformVersionMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ConfigStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ConfigStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConfigStub(channel, callOptions); + } + }; + return ConfigStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ConfigBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ConfigBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConfigBlockingStub(channel, callOptions); + } + }; + return ConfigBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ConfigFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ConfigFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConfigFutureStub(channel, callOptions); + } + }; + return ConfigFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Infrastructure Manager is a managed service that automates the deployment and
+   * management of Google Cloud infrastructure resources.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
+     * and location.
+     * 
+ */ + default void listDeployments( + com.google.cloud.config.v1.ListDeploymentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDeploymentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + default void getDeployment( + com.google.cloud.config.v1.GetDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + default void createDeployment( + com.google.cloud.config.v1.CreateDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + default void updateDeployment( + com.google.cloud.config.v1.UpdateDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + default void deleteDeployment( + com.google.cloud.config.v1.DeleteDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
+     * 
+ */ + default void listRevisions( + com.google.cloud.config.v1.ListRevisionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRevisionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Revision][google.cloud.config.v1.Revision].
+     * 
+ */ + default void getRevision( + com.google.cloud.config.v1.GetRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRevisionMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
+     * by Infra Manager.
+     * 
+ */ + default void getResource( + com.google.cloud.config.v1.GetResourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetResourceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
+     * 
+ */ + default void listResources( + com.google.cloud.config.v1.ListResourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListResourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports Terraform state file from a given deployment.
+     * 
+ */ + default void exportDeploymentStatefile( + com.google.cloud.config.v1.ExportDeploymentStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportDeploymentStatefileMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports Terraform state file from a given revision.
+     * 
+ */ + default void exportRevisionStatefile( + com.google.cloud.config.v1.ExportRevisionStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportRevisionStatefileMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Terraform state file in a given deployment. The state file does not
+     * take effect until the Deployment has been unlocked.
+     * 
+ */ + default void importStatefile( + com.google.cloud.config.v1.ImportStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportStatefileMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes Terraform state file in a given deployment.
+     * 
+ */ + default void deleteStatefile( + com.google.cloud.config.v1.DeleteStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteStatefileMethod(), responseObserver); + } + + /** + * + * + *
+     * Locks a deployment.
+     * 
+ */ + default void lockDeployment( + com.google.cloud.config.v1.LockDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLockDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Unlocks a locked deployment.
+     * 
+ */ + default void unlockDeployment( + com.google.cloud.config.v1.UnlockDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUnlockDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports the lock info on a locked deployment.
+     * 
+ */ + default void exportLockInfo( + com.google.cloud.config.v1.ExportLockInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportLockInfoMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + default void createPreview( + com.google.cloud.config.v1.CreatePreviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePreviewMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + default void getPreview( + com.google.cloud.config.v1.GetPreviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPreviewMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
+     * location.
+     * 
+ */ + default void listPreviews( + com.google.cloud.config.v1.ListPreviewsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPreviewsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + default void deletePreview( + com.google.cloud.config.v1.DeletePreviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePreviewMethod(), responseObserver); + } + + /** + * + * + *
+     * Export [Preview][google.cloud.config.v1.Preview] results.
+     * 
+ */ + default void exportPreviewResult( + com.google.cloud.config.v1.ExportPreviewResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportPreviewResultMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
+     * given project and location.
+     * 
+ */ + default void listTerraformVersions( + com.google.cloud.config.v1.ListTerraformVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTerraformVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about a
+     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
+     * 
+ */ + default void getTerraformVersion( + com.google.cloud.config.v1.GetTerraformVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTerraformVersionMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Config. + * + *
+   * Infrastructure Manager is a managed service that automates the deployment and
+   * management of Google Cloud infrastructure resources.
+   * 
+ */ + public abstract static class ConfigImplBase implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return ConfigGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Config. + * + *
+   * Infrastructure Manager is a managed service that automates the deployment and
+   * management of Google Cloud infrastructure resources.
+   * 
+ */ + public static final class ConfigStub extends io.grpc.stub.AbstractAsyncStub { + private ConfigStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ConfigStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConfigStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
+     * and location.
+     * 
+ */ + public void listDeployments( + com.google.cloud.config.v1.ListDeploymentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public void getDeployment( + com.google.cloud.config.v1.GetDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public void createDeployment( + com.google.cloud.config.v1.CreateDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public void updateDeployment( + com.google.cloud.config.v1.UpdateDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public void deleteDeployment( + com.google.cloud.config.v1.DeleteDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
+     * 
+ */ + public void listRevisions( + com.google.cloud.config.v1.ListRevisionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRevisionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Revision][google.cloud.config.v1.Revision].
+     * 
+ */ + public void getRevision( + com.google.cloud.config.v1.GetRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRevisionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
+     * by Infra Manager.
+     * 
+ */ + public void getResource( + com.google.cloud.config.v1.GetResourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetResourceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
+     * 
+ */ + public void listResources( + com.google.cloud.config.v1.ListResourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListResourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Exports Terraform state file from a given deployment.
+     * 
+ */ + public void exportDeploymentStatefile( + com.google.cloud.config.v1.ExportDeploymentStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportDeploymentStatefileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Exports Terraform state file from a given revision.
+     * 
+ */ + public void exportRevisionStatefile( + com.google.cloud.config.v1.ExportRevisionStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportRevisionStatefileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Terraform state file in a given deployment. The state file does not
+     * take effect until the Deployment has been unlocked.
+     * 
+ */ + public void importStatefile( + com.google.cloud.config.v1.ImportStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportStatefileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes Terraform state file in a given deployment.
+     * 
+ */ + public void deleteStatefile( + com.google.cloud.config.v1.DeleteStatefileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteStatefileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Locks a deployment.
+     * 
+ */ + public void lockDeployment( + com.google.cloud.config.v1.LockDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getLockDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Unlocks a locked deployment.
+     * 
+ */ + public void unlockDeployment( + com.google.cloud.config.v1.UnlockDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUnlockDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Exports the lock info on a locked deployment.
+     * 
+ */ + public void exportLockInfo( + com.google.cloud.config.v1.ExportLockInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportLockInfoMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public void createPreview( + com.google.cloud.config.v1.CreatePreviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePreviewMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details about a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public void getPreview( + com.google.cloud.config.v1.GetPreviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPreviewMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
+     * location.
+     * 
+ */ + public void listPreviews( + com.google.cloud.config.v1.ListPreviewsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPreviewsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public void deletePreview( + com.google.cloud.config.v1.DeletePreviewRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePreviewMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Export [Preview][google.cloud.config.v1.Preview] results.
+     * 
+ */ + public void exportPreviewResult( + com.google.cloud.config.v1.ExportPreviewResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportPreviewResultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
+     * given project and location.
+     * 
+ */ + public void listTerraformVersions( + com.google.cloud.config.v1.ListTerraformVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTerraformVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details about a
+     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
+     * 
+ */ + public void getTerraformVersion( + com.google.cloud.config.v1.GetTerraformVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTerraformVersionMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Config. + * + *
+   * Infrastructure Manager is a managed service that automates the deployment and
+   * management of Google Cloud infrastructure resources.
+   * 
+ */ + public static final class ConfigBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ConfigBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ConfigBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConfigBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
+     * and location.
+     * 
+ */ + public com.google.cloud.config.v1.ListDeploymentsResponse listDeployments( + com.google.cloud.config.v1.ListDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDeploymentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.cloud.config.v1.Deployment getDeployment( + com.google.cloud.config.v1.GetDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.longrunning.Operation createDeployment( + com.google.cloud.config.v1.CreateDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.longrunning.Operation updateDeployment( + com.google.cloud.config.v1.UpdateDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.longrunning.Operation deleteDeployment( + com.google.cloud.config.v1.DeleteDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
+     * 
+ */ + public com.google.cloud.config.v1.ListRevisionsResponse listRevisions( + com.google.cloud.config.v1.ListRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRevisionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about a [Revision][google.cloud.config.v1.Revision].
+     * 
+ */ + public com.google.cloud.config.v1.Revision getRevision( + com.google.cloud.config.v1.GetRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
+     * by Infra Manager.
+     * 
+ */ + public com.google.cloud.config.v1.Resource getResource( + com.google.cloud.config.v1.GetResourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetResourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
+     * 
+ */ + public com.google.cloud.config.v1.ListResourcesResponse listResources( + com.google.cloud.config.v1.ListResourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListResourcesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports Terraform state file from a given deployment.
+     * 
+ */ + public com.google.cloud.config.v1.Statefile exportDeploymentStatefile( + com.google.cloud.config.v1.ExportDeploymentStatefileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportDeploymentStatefileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports Terraform state file from a given revision.
+     * 
+ */ + public com.google.cloud.config.v1.Statefile exportRevisionStatefile( + com.google.cloud.config.v1.ExportRevisionStatefileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportRevisionStatefileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Terraform state file in a given deployment. The state file does not
+     * take effect until the Deployment has been unlocked.
+     * 
+ */ + public com.google.cloud.config.v1.Statefile importStatefile( + com.google.cloud.config.v1.ImportStatefileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportStatefileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes Terraform state file in a given deployment.
+     * 
+ */ + public com.google.protobuf.Empty deleteStatefile( + com.google.cloud.config.v1.DeleteStatefileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteStatefileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Locks a deployment.
+     * 
+ */ + public com.google.longrunning.Operation lockDeployment( + com.google.cloud.config.v1.LockDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getLockDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Unlocks a locked deployment.
+     * 
+ */ + public com.google.longrunning.Operation unlockDeployment( + com.google.cloud.config.v1.UnlockDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUnlockDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports the lock info on a locked deployment.
+     * 
+ */ + public com.google.cloud.config.v1.LockInfo exportLockInfo( + com.google.cloud.config.v1.ExportLockInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportLockInfoMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public com.google.longrunning.Operation createPreview( + com.google.cloud.config.v1.CreatePreviewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePreviewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public com.google.cloud.config.v1.Preview getPreview( + com.google.cloud.config.v1.GetPreviewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPreviewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
+     * location.
+     * 
+ */ + public com.google.cloud.config.v1.ListPreviewsResponse listPreviews( + com.google.cloud.config.v1.ListPreviewsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPreviewsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public com.google.longrunning.Operation deletePreview( + com.google.cloud.config.v1.DeletePreviewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePreviewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Export [Preview][google.cloud.config.v1.Preview] results.
+     * 
+ */ + public com.google.cloud.config.v1.ExportPreviewResultResponse exportPreviewResult( + com.google.cloud.config.v1.ExportPreviewResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportPreviewResultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
+     * given project and location.
+     * 
+ */ + public com.google.cloud.config.v1.ListTerraformVersionsResponse listTerraformVersions( + com.google.cloud.config.v1.ListTerraformVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTerraformVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about a
+     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
+     * 
+ */ + public com.google.cloud.config.v1.TerraformVersion getTerraformVersion( + com.google.cloud.config.v1.GetTerraformVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTerraformVersionMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Config. + * + *
+   * Infrastructure Manager is a managed service that automates the deployment and
+   * management of Google Cloud infrastructure resources.
+   * 
+ */ + public static final class ConfigFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ConfigFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ConfigFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConfigFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
+     * and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListDeploymentsResponse> + listDeployments(com.google.cloud.config.v1.ListDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getDeployment(com.google.cloud.config.v1.GetDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDeployment(com.google.cloud.config.v1.CreateDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDeployment(com.google.cloud.config.v1.UpdateDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDeployment(com.google.cloud.config.v1.DeleteDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListRevisionsResponse> + listRevisions(com.google.cloud.config.v1.ListRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about a [Revision][google.cloud.config.v1.Revision].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getRevision(com.google.cloud.config.v1.GetRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRevisionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
+     * by Infra Manager.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getResource(com.google.cloud.config.v1.GetResourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetResourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListResourcesResponse> + listResources(com.google.cloud.config.v1.ListResourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListResourcesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports Terraform state file from a given deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportDeploymentStatefile( + com.google.cloud.config.v1.ExportDeploymentStatefileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportDeploymentStatefileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports Terraform state file from a given revision.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportRevisionStatefile(com.google.cloud.config.v1.ExportRevisionStatefileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportRevisionStatefileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Terraform state file in a given deployment. The state file does not
+     * take effect until the Deployment has been unlocked.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importStatefile(com.google.cloud.config.v1.ImportStatefileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportStatefileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes Terraform state file in a given deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteStatefile(com.google.cloud.config.v1.DeleteStatefileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteStatefileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Locks a deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + lockDeployment(com.google.cloud.config.v1.LockDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getLockDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Unlocks a locked deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + unlockDeployment(com.google.cloud.config.v1.UnlockDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUnlockDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports the lock info on a locked deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportLockInfo(com.google.cloud.config.v1.ExportLockInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportLockInfoMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createPreview(com.google.cloud.config.v1.CreatePreviewRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePreviewMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getPreview(com.google.cloud.config.v1.GetPreviewRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPreviewMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListPreviewsResponse> + listPreviews(com.google.cloud.config.v1.ListPreviewsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPreviewsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a [Preview][google.cloud.config.v1.Preview].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePreview(com.google.cloud.config.v1.DeletePreviewRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePreviewMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Export [Preview][google.cloud.config.v1.Preview] results.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ExportPreviewResultResponse> + exportPreviewResult(com.google.cloud.config.v1.ExportPreviewResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportPreviewResultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
+     * given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListTerraformVersionsResponse> + listTerraformVersions(com.google.cloud.config.v1.ListTerraformVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTerraformVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about a
+     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.TerraformVersion> + getTerraformVersion(com.google.cloud.config.v1.GetTerraformVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTerraformVersionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DEPLOYMENTS = 0; + private static final int METHODID_GET_DEPLOYMENT = 1; + private static final int METHODID_CREATE_DEPLOYMENT = 2; + private static final int METHODID_UPDATE_DEPLOYMENT = 3; + private static final int METHODID_DELETE_DEPLOYMENT = 4; + private static final int METHODID_LIST_REVISIONS = 5; + private static final int METHODID_GET_REVISION = 6; + private static final int METHODID_GET_RESOURCE = 7; + private static final int METHODID_LIST_RESOURCES = 8; + private static final int METHODID_EXPORT_DEPLOYMENT_STATEFILE = 9; + private static final int METHODID_EXPORT_REVISION_STATEFILE = 10; + private static final int METHODID_IMPORT_STATEFILE = 11; + private static final int METHODID_DELETE_STATEFILE = 12; + private static final int METHODID_LOCK_DEPLOYMENT = 13; + private static final int METHODID_UNLOCK_DEPLOYMENT = 14; + private static final int METHODID_EXPORT_LOCK_INFO = 15; + private static final int METHODID_CREATE_PREVIEW = 16; + private static final int METHODID_GET_PREVIEW = 17; + private static final int METHODID_LIST_PREVIEWS = 18; + private static final int METHODID_DELETE_PREVIEW = 19; + private static final int METHODID_EXPORT_PREVIEW_RESULT = 20; + private static final int METHODID_LIST_TERRAFORM_VERSIONS = 21; + private static final int METHODID_GET_TERRAFORM_VERSION = 22; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_DEPLOYMENTS: + serviceImpl.listDeployments( + (com.google.cloud.config.v1.ListDeploymentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DEPLOYMENT: + serviceImpl.getDeployment( + (com.google.cloud.config.v1.GetDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DEPLOYMENT: + serviceImpl.createDeployment( + (com.google.cloud.config.v1.CreateDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DEPLOYMENT: + serviceImpl.updateDeployment( + (com.google.cloud.config.v1.UpdateDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DEPLOYMENT: + serviceImpl.deleteDeployment( + (com.google.cloud.config.v1.DeleteDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REVISIONS: + serviceImpl.listRevisions( + (com.google.cloud.config.v1.ListRevisionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_REVISION: + serviceImpl.getRevision( + (com.google.cloud.config.v1.GetRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_RESOURCE: + serviceImpl.getResource( + (com.google.cloud.config.v1.GetResourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_RESOURCES: + serviceImpl.listResources( + (com.google.cloud.config.v1.ListResourcesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_EXPORT_DEPLOYMENT_STATEFILE: + serviceImpl.exportDeploymentStatefile( + (com.google.cloud.config.v1.ExportDeploymentStatefileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_REVISION_STATEFILE: + serviceImpl.exportRevisionStatefile( + (com.google.cloud.config.v1.ExportRevisionStatefileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_STATEFILE: + serviceImpl.importStatefile( + (com.google.cloud.config.v1.ImportStatefileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_STATEFILE: + serviceImpl.deleteStatefile( + (com.google.cloud.config.v1.DeleteStatefileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LOCK_DEPLOYMENT: + serviceImpl.lockDeployment( + (com.google.cloud.config.v1.LockDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNLOCK_DEPLOYMENT: + serviceImpl.unlockDeployment( + (com.google.cloud.config.v1.UnlockDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_LOCK_INFO: + serviceImpl.exportLockInfo( + (com.google.cloud.config.v1.ExportLockInfoRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PREVIEW: + serviceImpl.createPreview( + (com.google.cloud.config.v1.CreatePreviewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PREVIEW: + serviceImpl.getPreview( + (com.google.cloud.config.v1.GetPreviewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PREVIEWS: + serviceImpl.listPreviews( + (com.google.cloud.config.v1.ListPreviewsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PREVIEW: + serviceImpl.deletePreview( + (com.google.cloud.config.v1.DeletePreviewRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_PREVIEW_RESULT: + serviceImpl.exportPreviewResult( + (com.google.cloud.config.v1.ExportPreviewResultRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TERRAFORM_VERSIONS: + serviceImpl.listTerraformVersions( + (com.google.cloud.config.v1.ListTerraformVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.config.v1.ListTerraformVersionsResponse>) + responseObserver); + break; + case METHODID_GET_TERRAFORM_VERSION: + serviceImpl.getTerraformVersion( + (com.google.cloud.config.v1.GetTerraformVersionRequest) 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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListDeploymentsRequest, + com.google.cloud.config.v1.ListDeploymentsResponse>( + service, METHODID_LIST_DEPLOYMENTS))) + .addMethod( + getGetDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetDeploymentRequest, + com.google.cloud.config.v1.Deployment>(service, METHODID_GET_DEPLOYMENT))) + .addMethod( + getCreateDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.CreateDeploymentRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DEPLOYMENT))) + .addMethod( + getUpdateDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.UpdateDeploymentRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DEPLOYMENT))) + .addMethod( + getDeleteDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.DeleteDeploymentRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_DEPLOYMENT))) + .addMethod( + getListRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListRevisionsRequest, + com.google.cloud.config.v1.ListRevisionsResponse>( + service, METHODID_LIST_REVISIONS))) + .addMethod( + getGetRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetRevisionRequest, + com.google.cloud.config.v1.Revision>(service, METHODID_GET_REVISION))) + .addMethod( + getGetResourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetResourceRequest, + com.google.cloud.config.v1.Resource>(service, METHODID_GET_RESOURCE))) + .addMethod( + getListResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListResourcesRequest, + com.google.cloud.config.v1.ListResourcesResponse>( + service, METHODID_LIST_RESOURCES))) + .addMethod( + getExportDeploymentStatefileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ExportDeploymentStatefileRequest, + com.google.cloud.config.v1.Statefile>( + service, METHODID_EXPORT_DEPLOYMENT_STATEFILE))) + .addMethod( + getExportRevisionStatefileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ExportRevisionStatefileRequest, + com.google.cloud.config.v1.Statefile>( + service, METHODID_EXPORT_REVISION_STATEFILE))) + .addMethod( + getImportStatefileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ImportStatefileRequest, + com.google.cloud.config.v1.Statefile>(service, METHODID_IMPORT_STATEFILE))) + .addMethod( + getDeleteStatefileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.DeleteStatefileRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_STATEFILE))) + .addMethod( + getLockDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.LockDeploymentRequest, + com.google.longrunning.Operation>(service, METHODID_LOCK_DEPLOYMENT))) + .addMethod( + getUnlockDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.UnlockDeploymentRequest, + com.google.longrunning.Operation>(service, METHODID_UNLOCK_DEPLOYMENT))) + .addMethod( + getExportLockInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ExportLockInfoRequest, + com.google.cloud.config.v1.LockInfo>(service, METHODID_EXPORT_LOCK_INFO))) + .addMethod( + getCreatePreviewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.CreatePreviewRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_PREVIEW))) + .addMethod( + getGetPreviewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetPreviewRequest, + com.google.cloud.config.v1.Preview>(service, METHODID_GET_PREVIEW))) + .addMethod( + getListPreviewsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListPreviewsRequest, + com.google.cloud.config.v1.ListPreviewsResponse>( + service, METHODID_LIST_PREVIEWS))) + .addMethod( + getDeletePreviewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.DeletePreviewRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_PREVIEW))) + .addMethod( + getExportPreviewResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ExportPreviewResultRequest, + com.google.cloud.config.v1.ExportPreviewResultResponse>( + service, METHODID_EXPORT_PREVIEW_RESULT))) + .addMethod( + getListTerraformVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListTerraformVersionsRequest, + com.google.cloud.config.v1.ListTerraformVersionsResponse>( + service, METHODID_LIST_TERRAFORM_VERSIONS))) + .addMethod( + getGetTerraformVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetTerraformVersionRequest, + com.google.cloud.config.v1.TerraformVersion>( + service, METHODID_GET_TERRAFORM_VERSION))) + .build(); + } + + private abstract static class ConfigBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ConfigBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.config.v1.ConfigProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Config"); + } + } + + private static final class ConfigFileDescriptorSupplier extends ConfigBaseDescriptorSupplier { + ConfigFileDescriptorSupplier() {} + } + + private static final class ConfigMethodDescriptorSupplier extends ConfigBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + ConfigMethodDescriptorSupplier(java.lang.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 (ConfigGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ConfigFileDescriptorSupplier()) + .addMethod(getListDeploymentsMethod()) + .addMethod(getGetDeploymentMethod()) + .addMethod(getCreateDeploymentMethod()) + .addMethod(getUpdateDeploymentMethod()) + .addMethod(getDeleteDeploymentMethod()) + .addMethod(getListRevisionsMethod()) + .addMethod(getGetRevisionMethod()) + .addMethod(getGetResourceMethod()) + .addMethod(getListResourcesMethod()) + .addMethod(getExportDeploymentStatefileMethod()) + .addMethod(getExportRevisionStatefileMethod()) + .addMethod(getImportStatefileMethod()) + .addMethod(getDeleteStatefileMethod()) + .addMethod(getLockDeploymentMethod()) + .addMethod(getUnlockDeploymentMethod()) + .addMethod(getExportLockInfoMethod()) + .addMethod(getCreatePreviewMethod()) + .addMethod(getGetPreviewMethod()) + .addMethod(getListPreviewsMethod()) + .addMethod(getDeletePreviewMethod()) + .addMethod(getExportPreviewResultMethod()) + .addMethod(getListTerraformVersionsMethod()) + .addMethod(getGetTerraformVersionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java similarity index 64% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java index 7c7cc0f03d89..309b457f53fc 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResults.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Outputs and artifacts from applying a deployment.
  * 
* * Protobuf type {@code google.cloud.config.v1.ApplyResults} */ -public final class ApplyResults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ApplyResults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ApplyResults) ApplyResultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplyResults.newBuilder() to construct. private ApplyResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApplyResults() { content_ = ""; artifacts_ = ""; @@ -27,14 +45,13 @@ private ApplyResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplyResults(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ApplyResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ApplyResults_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -45,28 +62,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 3: return internalGetOutputs(); 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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ApplyResults.class, com.google.cloud.config.v1.ApplyResults.Builder.class); + com.google.cloud.config.v1.ApplyResults.class, + com.google.cloud.config.v1.ApplyResults.Builder.class); } public static final int CONTENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object content_ = ""; /** + * + * *
    * Location of a blueprint copy and other manifests in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string content = 1; + * * @return The content. */ @java.lang.Override @@ -75,30 +98,30 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** + * + * *
    * Location of a blueprint copy and other manifests in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string content = 1; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -107,15 +130,19 @@ public java.lang.String getContent() { } public static final int ARTIFACTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object artifacts_ = ""; /** + * + * *
    * Location of artifacts (e.g. logs) in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2; + * * @return The artifacts. */ @java.lang.Override @@ -124,30 +151,30 @@ public java.lang.String getArtifacts() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifacts_ = s; return s; } } /** + * + * *
    * Location of artifacts (e.g. logs) in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2; + * * @return The bytes for artifacts. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactsBytes() { + public com.google.protobuf.ByteString getArtifactsBytes() { java.lang.Object ref = artifacts_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifacts_ = b; return b; } else { @@ -156,32 +183,39 @@ public java.lang.String getArtifacts() { } public static final int OUTPUTS_FIELD_NUMBER = 3; + private static final class OutputsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.config.v1.TerraformOutput> defaultEntry = + java.lang.String, com.google.cloud.config.v1.TerraformOutput> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.config.v1.TerraformOutput.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.config.v1.TerraformOutput.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.config.v1.TerraformOutput> outputs_; private com.google.protobuf.MapField - internalGetOutputs() { + outputs_; + + private com.google.protobuf.MapField + internalGetOutputs() { if (outputs_ == null) { - return com.google.protobuf.MapField.emptyMapField( - OutputsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(OutputsDefaultEntryHolder.defaultEntry); } return outputs_; } + public int getOutputsCount() { return internalGetOutputs().getMap().size(); } /** + * + * *
    * Map of output name to output info.
    * 
@@ -189,20 +223,21 @@ public int getOutputsCount() { * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public boolean containsOutputs( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsOutputs(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetOutputs().getMap().containsKey(key); } - /** - * Use {@link #getOutputsMap()} instead. - */ + /** Use {@link #getOutputsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOutputs() { return getOutputsMap(); } /** + * + * *
    * Map of output name to output info.
    * 
@@ -210,10 +245,13 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public java.util.Map getOutputsMap() { + public java.util.Map + getOutputsMap() { return internalGetOutputs().getMap(); } /** + * + * *
    * Map of output name to output info.
    * 
@@ -221,17 +259,20 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public /* nullable */ -com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( + public /* nullable */ com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.TerraformOutput defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.config.v1.TerraformOutput defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetOutputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Map of output name to output info.
    * 
@@ -239,9 +280,10 @@ com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetOutputs().getMap(); if (!map.containsKey(key)) { @@ -251,6 +293,7 @@ public com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,20 +305,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(content_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifacts_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, artifacts_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetOutputs(), - OutputsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetOutputs(), OutputsDefaultEntryHolder.defaultEntry, 3); getUnknownFields().writeTo(output); } @@ -291,15 +329,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifacts_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, artifacts_); } - for (java.util.Map.Entry entry - : internalGetOutputs().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetOutputs().getMap().entrySet()) { com.google.protobuf.MapEntry - outputs__ = OutputsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, outputs__); + outputs__ = + OutputsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, outputs__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -309,19 +348,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.config.v1.ApplyResults)) { return super.equals(obj); } com.google.cloud.config.v1.ApplyResults other = (com.google.cloud.config.v1.ApplyResults) obj; - if (!getContent() - .equals(other.getContent())) return false; - if (!getArtifacts() - .equals(other.getArtifacts())) return false; - if (!internalGetOutputs().equals( - other.internalGetOutputs())) return false; + if (!getContent().equals(other.getContent())) return false; + if (!getArtifacts().equals(other.getArtifacts())) return false; + if (!internalGetOutputs().equals(other.internalGetOutputs())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,112 +382,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ApplyResults parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ApplyResults parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ApplyResults 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.config.v1.ApplyResults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ApplyResults parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ApplyResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ApplyResults 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.config.v1.ApplyResults 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.config.v1.ApplyResults 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.config.v1.ApplyResults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ApplyResults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ApplyResults 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.config.v1.ApplyResults 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.config.v1.ApplyResults 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.config.v1.ApplyResults 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; } /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
* * Protobuf type {@code google.cloud.config.v1.ApplyResults} */ - 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.config.v1.ApplyResults) com.google.cloud.config.v1.ApplyResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ApplyResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ApplyResults_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -461,10 +502,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 3: return internalGetOutputs(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -472,28 +513,27 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 3: return internalGetMutableOutputs(); 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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ApplyResults.class, com.google.cloud.config.v1.ApplyResults.Builder.class); + com.google.cloud.config.v1.ApplyResults.class, + com.google.cloud.config.v1.ApplyResults.Builder.class); } // Construct using com.google.cloud.config.v1.ApplyResults.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -505,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ApplyResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ApplyResults_descriptor; } @java.lang.Override @@ -526,8 +566,11 @@ public com.google.cloud.config.v1.ApplyResults build() { @java.lang.Override public com.google.cloud.config.v1.ApplyResults buildPartial() { - com.google.cloud.config.v1.ApplyResults result = new com.google.cloud.config.v1.ApplyResults(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ApplyResults result = + new com.google.cloud.config.v1.ApplyResults(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -549,38 +592,39 @@ private void buildPartial0(com.google.cloud.config.v1.ApplyResults result) { 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.config.v1.ApplyResults) { - return mergeFrom((com.google.cloud.config.v1.ApplyResults)other); + return mergeFrom((com.google.cloud.config.v1.ApplyResults) other); } else { super.mergeFrom(other); return this; @@ -599,8 +643,7 @@ public Builder mergeFrom(com.google.cloud.config.v1.ApplyResults other) { bitField0_ |= 0x00000002; onChanged(); } - internalGetMutableOutputs().mergeFrom( - other.internalGetOutputs()); + internalGetMutableOutputs().mergeFrom(other.internalGetOutputs()); bitField0_ |= 0x00000004; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -628,31 +671,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - content_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - artifacts_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - outputs__ = input.readMessage( - OutputsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableOutputs().ensureBuilderMap().put( - outputs__.getKey(), outputs__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + content_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + artifacts_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.TerraformOutput> + outputs__ = + input.readMessage( + OutputsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableOutputs() + .ensureBuilderMap() + .put(outputs__.getKey(), outputs__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,23 +713,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object content_ = ""; /** + * + * *
      * Location of a blueprint copy and other manifests in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string content = 1; + * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -687,21 +741,22 @@ public java.lang.String getContent() { } } /** + * + * *
      * Location of a blueprint copy and other manifests in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string content = 1; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -709,30 +764,37 @@ public java.lang.String getContent() { } } /** + * + * *
      * Location of a blueprint copy and other manifests in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string content = 1; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } content_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Location of a blueprint copy and other manifests in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string content = 1; + * * @return This builder for chaining. */ public Builder clearContent() { @@ -742,18 +804,22 @@ public Builder clearContent() { return this; } /** + * + * *
      * Location of a blueprint copy and other manifests in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string content = 1; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); content_ = value; bitField0_ |= 0x00000001; @@ -763,19 +829,21 @@ public Builder setContentBytes( private java.lang.Object artifacts_ = ""; /** + * + * *
      * Location of artifacts (e.g. logs) in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2; + * * @return The artifacts. */ public java.lang.String getArtifacts() { java.lang.Object ref = artifacts_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifacts_ = s; return s; @@ -784,21 +852,22 @@ public java.lang.String getArtifacts() { } } /** + * + * *
      * Location of artifacts (e.g. logs) in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2; + * * @return The bytes for artifacts. */ - public com.google.protobuf.ByteString - getArtifactsBytes() { + public com.google.protobuf.ByteString getArtifactsBytes() { java.lang.Object ref = artifacts_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifacts_ = b; return b; } else { @@ -806,30 +875,37 @@ public java.lang.String getArtifacts() { } } /** + * + * *
      * Location of artifacts (e.g. logs) in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2; + * * @param value The artifacts to set. * @return This builder for chaining. */ - public Builder setArtifacts( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifacts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifacts_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Location of artifacts (e.g. logs) in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2; + * * @return This builder for chaining. */ public Builder clearArtifacts() { @@ -839,18 +915,22 @@ public Builder clearArtifacts() { return this; } /** + * + * *
      * Location of artifacts (e.g. logs) in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2; + * * @param value The bytes for artifacts to set. * @return This builder for chaining. */ - public Builder setArtifactsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifacts_ = value; bitField0_ |= 0x00000002; @@ -858,30 +938,54 @@ public Builder setArtifactsBytes( return this; } - private static final class OutputsConverter implements com.google.protobuf.MapFieldBuilder.Converter { + private static final class OutputsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.config.v1.TerraformOutputOrBuilder, + com.google.cloud.config.v1.TerraformOutput> { @java.lang.Override - public com.google.cloud.config.v1.TerraformOutput build(com.google.cloud.config.v1.TerraformOutputOrBuilder val) { - if (val instanceof com.google.cloud.config.v1.TerraformOutput) { return (com.google.cloud.config.v1.TerraformOutput) val; } + public com.google.cloud.config.v1.TerraformOutput build( + com.google.cloud.config.v1.TerraformOutputOrBuilder val) { + if (val instanceof com.google.cloud.config.v1.TerraformOutput) { + return (com.google.cloud.config.v1.TerraformOutput) val; + } return ((com.google.cloud.config.v1.TerraformOutput.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.TerraformOutput> + defaultEntry() { return OutputsDefaultEntryHolder.defaultEntry; } }; + private static final OutputsConverter outputsConverter = new OutputsConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, com.google.cloud.config.v1.TerraformOutputOrBuilder, com.google.cloud.config.v1.TerraformOutput, com.google.cloud.config.v1.TerraformOutput.Builder> outputs_; - private com.google.protobuf.MapFieldBuilder + java.lang.String, + com.google.cloud.config.v1.TerraformOutputOrBuilder, + com.google.cloud.config.v1.TerraformOutput, + com.google.cloud.config.v1.TerraformOutput.Builder> + outputs_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.TerraformOutputOrBuilder, + com.google.cloud.config.v1.TerraformOutput, + com.google.cloud.config.v1.TerraformOutput.Builder> internalGetOutputs() { if (outputs_ == null) { return new com.google.protobuf.MapFieldBuilder<>(outputsConverter); } return outputs_; } - private com.google.protobuf.MapFieldBuilder + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.TerraformOutputOrBuilder, + com.google.cloud.config.v1.TerraformOutput, + com.google.cloud.config.v1.TerraformOutput.Builder> internalGetMutableOutputs() { if (outputs_ == null) { outputs_ = new com.google.protobuf.MapFieldBuilder<>(outputsConverter); @@ -890,10 +994,13 @@ public com.google.protobuf.MapEntry * Map of output name to output info. * @@ -901,20 +1008,22 @@ public int getOutputsCount() { * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public boolean containsOutputs( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsOutputs(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetOutputs().ensureBuilderMap().containsKey(key); } - /** - * Use {@link #getOutputsMap()} instead. - */ + /** Use {@link #getOutputsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getOutputs() { + public java.util.Map + getOutputs() { return getOutputsMap(); } /** + * + * *
      * Map of output name to output info.
      * 
@@ -922,10 +1031,13 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public java.util.Map getOutputsMap() { + public java.util.Map + getOutputsMap() { return internalGetOutputs().getImmutableMap(); } /** + * + * *
      * Map of output name to output info.
      * 
@@ -933,16 +1045,20 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public /* nullable */ -com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( + public /* nullable */ com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.TerraformOutput defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = internalGetMutableOutputs().ensureBuilderMap(); + com.google.cloud.config.v1.TerraformOutput defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableOutputs().ensureBuilderMap(); return map.containsKey(key) ? outputsConverter.build(map.get(key)) : defaultValue; } /** + * + * *
      * Map of output name to output info.
      * 
@@ -950,37 +1066,40 @@ com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ @java.lang.Override - public com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = internalGetMutableOutputs().ensureBuilderMap(); + public com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableOutputs().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return outputsConverter.build(map.get(key)); } + public Builder clearOutputs() { bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableOutputs().clear(); return this; } /** + * + * *
      * Map of output name to output info.
      * 
* * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ - public Builder removeOutputs( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableOutputs().ensureBuilderMap() - .remove(key); + public Builder removeOutputs(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableOutputs().ensureBuilderMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableOutputs() { @@ -988,6 +1107,8 @@ public Builder removeOutputs( return internalGetMutableOutputs().ensureMessageMap(); } /** + * + * *
      * Map of output name to output info.
      * 
@@ -995,16 +1116,20 @@ public Builder removeOutputs( * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ public Builder putOutputs( - java.lang.String key, - com.google.cloud.config.v1.TerraformOutput value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableOutputs().ensureBuilderMap() - .put(key, value); + java.lang.String key, com.google.cloud.config.v1.TerraformOutput value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableOutputs().ensureBuilderMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Map of output name to output info.
      * 
@@ -1013,17 +1138,19 @@ public Builder putOutputs( */ public Builder putAllOutputs( java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { + for (java.util.Map.Entry e : + values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableOutputs().ensureBuilderMap() - .putAll(values); + internalGetMutableOutputs().ensureBuilderMap().putAll(values); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Map of output name to output info.
      * 
@@ -1032,7 +1159,8 @@ public Builder putAllOutputs( */ public com.google.cloud.config.v1.TerraformOutput.Builder putOutputsBuilderIfAbsent( java.lang.String key) { - java.util.Map builderMap = internalGetMutableOutputs().ensureBuilderMap(); + java.util.Map + builderMap = internalGetMutableOutputs().ensureBuilderMap(); com.google.cloud.config.v1.TerraformOutputOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.cloud.config.v1.TerraformOutput.newBuilder(); @@ -1044,9 +1172,9 @@ public com.google.cloud.config.v1.TerraformOutput.Builder putOutputsBuilderIfAbs } return (com.google.cloud.config.v1.TerraformOutput.Builder) entry; } + @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); } @@ -1056,12 +1184,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ApplyResults) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ApplyResults) private static final com.google.cloud.config.v1.ApplyResults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ApplyResults(); } @@ -1070,27 +1198,27 @@ public static com.google.cloud.config.v1.ApplyResults getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplyResults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplyResults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,6 +1233,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ApplyResults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java similarity index 65% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java index ddfb056e7fb0..8a90f4f7b09f 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ApplyResultsOrBuilder.java @@ -1,58 +1,86 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ApplyResultsOrBuilder extends +public interface ApplyResultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ApplyResults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Location of a blueprint copy and other manifests in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string content = 1; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
    * Location of a blueprint copy and other manifests in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string content = 1; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
    * Location of artifacts (e.g. logs) in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2; + * * @return The artifacts. */ java.lang.String getArtifacts(); /** + * + * *
    * Location of artifacts (e.g. logs) in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2; + * * @return The bytes for artifacts. */ - com.google.protobuf.ByteString - getArtifactsBytes(); + com.google.protobuf.ByteString getArtifactsBytes(); /** + * + * *
    * Map of output name to output info.
    * 
@@ -61,30 +89,31 @@ public interface ApplyResultsOrBuilder extends */ int getOutputsCount(); /** + * + * *
    * Map of output name to output info.
    * 
* * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ - boolean containsOutputs( - java.lang.String key); - /** - * Use {@link #getOutputsMap()} instead. - */ + boolean containsOutputs(java.lang.String key); + /** Use {@link #getOutputsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getOutputs(); + java.util.Map getOutputs(); /** + * + * *
    * Map of output name to output info.
    * 
* * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ - java.util.Map - getOutputsMap(); + java.util.Map getOutputsMap(); /** + * + * *
    * Map of output name to output info.
    * 
@@ -92,17 +121,18 @@ boolean containsOutputs( * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ /* nullable */ -com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( + com.google.cloud.config.v1.TerraformOutput getOutputsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.TerraformOutput defaultValue); + com.google.cloud.config.v1.TerraformOutput defaultValue); /** + * + * *
    * Map of output name to output info.
    * 
* * map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3; */ - com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow( - java.lang.String key); + com.google.cloud.config.v1.TerraformOutput getOutputsOrThrow(java.lang.String key); } diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java new file mode 100644 index 000000000000..92ff4a368a6a --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java @@ -0,0 +1,1256 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public final class ConfigProto { + private ConfigProto() {} + + 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_config_v1_Deployment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Deployment_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformVariable_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ApplyResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Revision_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Revision_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GitSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Statefile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_LockInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Preview_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Preview_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_Preview_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_PreviewResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformVersion_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/config/v1/config.proto\022\026g" + + "oogle.cloud.config.v1\032\034google/api/annota" + + "tions.proto\032\027google/api/client.proto\032\037go" + + "ogle/api/field_behavior.proto\032\033google/ap" + + "i/field_info.proto\032\031google/api/resource." + + "proto\032#google/longrunning/operations.pro" + + "to\032\033google/protobuf/empty.proto\032 google/" + + "protobuf/field_mask.proto\032\034google/protob" + + "uf/struct.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\"\315\016\n\nDe" + + "ployment\022I\n\023terraform_blueprint\030\006 \001(\0132*." + + "google.cloud.config.v1.TerraformBlueprin" + + "tH\000\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022>\n\006labels\030\004 \003(\0132..google.cloud.con" + + "fig.v1.Deployment.LabelsEntry\022<\n\005state\030\005" + + " \001(\0162(.google.cloud.config.v1.Deployment" + + ".StateB\003\340A\003\022\034\n\017latest_revision\030\007 \001(\tB\003\340A" + + "\003\022\031\n\014state_detail\030\t \001(\tB\003\340A\003\022E\n\nerror_co" + + "de\030\n \001(\0162,.google.cloud.config.v1.Deploy" + + "ment.ErrorCodeB\003\340A\003\022A\n\016delete_results\030\010 " + + "\001(\0132$.google.cloud.config.v1.ApplyResult" + + "sB\003\340A\003\022\031\n\014delete_build\030\013 \001(\tB\003\340A\003\022\030\n\013del" + + "ete_logs\030\014 \001(\tB\003\340A\003\022>\n\ttf_errors\030\r \003(\0132&" + + ".google.cloud.config.v1.TerraformErrorB\003" + + "\340A\003\022\027\n\nerror_logs\030\016 \001(\tB\003\340A\003\022&\n\024artifact" + + "s_gcs_bucket\030\017 \001(\tB\003\340A\001H\001\210\001\001\022G\n\017service_" + + "account\030\020 \001(\tB)\340A\001\372A#\n!iam.googleapis.co" + + "m/ServiceAccountH\002\210\001\001\022&\n\031import_existing" + + "_resources\030\021 \001(\010H\003\210\001\001\022F\n\013worker_pool\030\023 \001" + + "(\tB,\340A\001\372A&\n$cloudbuild.googleapis.com/Wo" + + "rkerPoolH\004\210\001\001\022E\n\nlock_state\030\024 \001(\0162,.goog" + + "le.cloud.config.v1.Deployment.LockStateB" + + "\003\340A\003\022\'\n\025tf_version_constraint\030\025 \001(\tB\003\340A\001" + + "H\005\210\001\001\022\027\n\ntf_version\030\026 \001(\tB\003\340A\003\022F\n\020quota_" + + "validation\030\027 \001(\0162\'.google.cloud.config.v" + + "1.QuotaValidationB\003\340A\001\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"|\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006A" + + "CTIVE\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004\022\n\n\006F" + + "AILED\020\005\022\r\n\tSUSPENDED\020\006\022\013\n\007DELETED\020\007\"\334\001\n\t" + + "ErrorCode\022\032\n\026ERROR_CODE_UNSPECIFIED\020\000\022\023\n" + + "\017REVISION_FAILED\020\001\022!\n\035CLOUD_BUILD_PERMIS" + + "SION_DENIED\020\003\022\033\n\027DELETE_BUILD_API_FAILED" + + "\020\005\022\033\n\027DELETE_BUILD_RUN_FAILED\020\006\022%\n!BUCKE" + + "T_CREATION_PERMISSION_DENIED\020\007\022\032\n\026BUCKET" + + "_CREATION_FAILED\020\010\"\201\001\n\tLockState\022\032\n\026LOCK" + + "_STATE_UNSPECIFIED\020\000\022\n\n\006LOCKED\020\001\022\014\n\010UNLO" + + "CKED\020\002\022\013\n\007LOCKING\020\003\022\r\n\tUNLOCKING\020\004\022\017\n\013LO" + + "CK_FAILED\020\005\022\021\n\rUNLOCK_FAILED\020\006:g\352Ad\n con" + + "fig.googleapis.com/Deployment\022@projects/" + + "{project}/locations/{location}/deploymen" + + "ts/{deployment}B\013\n\tblueprintB\027\n\025_artifac" + + "ts_gcs_bucketB\022\n\020_service_accountB\034\n\032_im" + + "port_existing_resourcesB\016\n\014_worker_poolB" + + "\030\n\026_tf_version_constraint\"\251\002\n\022TerraformB" + + "lueprint\022\031\n\ngcs_source\030\001 \001(\tB\003\340A\002H\000\022<\n\ng" + + "it_source\030\002 \001(\0132!.google.cloud.config.v1" + + ".GitSourceB\003\340A\002H\000\022Q\n\014input_values\030\004 \003(\0132" + + ";.google.cloud.config.v1.TerraformBluepr" + + "int.InputValuesEntry\032]\n\020InputValuesEntry" + + "\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google.cl" + + "oud.config.v1.TerraformVariable:\0028\001B\010\n\006s" + + "ource\"@\n\021TerraformVariable\022+\n\013input_valu" + + "e\030\005 \001(\0132\026.google.protobuf.Value\"\317\001\n\014Appl" + + "yResults\022\017\n\007content\030\001 \001(\t\022\021\n\tartifacts\030\002" + + " \001(\t\022B\n\007outputs\030\003 \003(\01321.google.cloud.con" + + "fig.v1.ApplyResults.OutputsEntry\032W\n\014Outp" + + "utsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.g" + + "oogle.cloud.config.v1.TerraformOutput:\0028" + + "\001\"K\n\017TerraformOutput\022\021\n\tsensitive\030\001 \001(\010\022" + + "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value\"\234" + + "\001\n\026ListDeploymentsRequest\0229\n\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" + + "tion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\200\001" + + "\n\027ListDeploymentsResponse\0227\n\013deployments" + + "\030\001 \003(\0132\".google.cloud.config.v1.Deployme" + + "nt\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"N\n\024GetDeploymentRequest\0226\n\004name" + + "\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.com/De" + + "ployment\"\231\001\n\024ListRevisionsRequest\0228\n\006par" + + "ent\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.com" + + "/Deployment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005" + + " \001(\t\"z\n\025ListRevisionsResponse\0223\n\trevisio" + + "ns\030\001 \003(\0132 .google.cloud.config.v1.Revisi" + + "on\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"J\n\022GetRevisionRequest\0224\n\004name\030\001" + + " \001(\tB&\340A\002\372A \n\036config.googleapis.com/Revi" + + "sion\"\306\001\n\027CreateDeploymentRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c" + + "om/Location\022\032\n\rdeployment_id\030\002 \001(\tB\003\340A\002\022" + + ";\n\ndeployment\030\003 \001(\0132\".google.cloud.confi" + + "g.v1.DeploymentB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\t" + + "B\003\340A\001\"\245\001\n\027UpdateDeploymentRequest\0224\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\003\340A\001\022;\n\ndeployment\030\002 \001(\0132\".google.clo" + + "ud.config.v1.DeploymentB\003\340A\002\022\027\n\nrequest_" + + "id\030\003 \001(\tB\003\340A\001\"\240\002\n\027DeleteDeploymentReques" + + "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n config.googleap" + + "is.com/Deployment\022\027\n\nrequest_id\030\002 \001(\tB\003\340" + + "A\001\022\022\n\005force\030\003 \001(\010B\003\340A\001\022X\n\rdelete_policy\030" + + "\004 \001(\0162<.google.cloud.config.v1.DeleteDep" + + "loymentRequest.DeletePolicyB\003\340A\001\"F\n\014Dele" + + "tePolicy\022\035\n\031DELETE_POLICY_UNSPECIFIED\020\000\022" + + "\n\n\006DELETE\020\001\022\013\n\007ABANDON\020\002\"\301\003\n\021OperationMe" + + "tadata\022W\n\023deployment_metadata\030\010 \001(\01323.go" + + "ogle.cloud.config.v1.DeploymentOperation" + + "MetadataB\003\340A\003H\000\022Q\n\020preview_metadata\030\t \001(" + + "\01320.google.cloud.config.v1.PreviewOperat" + + "ionMetadataB\003\340A\003H\000\0224\n\013create_time\030\001 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end_" + + "time\030\002 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003" + + "\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026requ" + + "ested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_ver" + + "sion\030\007 \001(\tB\003\340A\003B\023\n\021resource_metadata\"\203\013\n" + + "\010Revision\022N\n\023terraform_blueprint\030\006 \001(\0132*" + + ".google.cloud.config.v1.TerraformBluepri" + + "ntB\003\340A\003H\000\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022<\n\006action\030\004 \001(\0162\'.google.clo" + + "ud.config.v1.Revision.ActionB\003\340A\003\022:\n\005sta" + + "te\030\005 \001(\0162&.google.cloud.config.v1.Revisi" + + "on.StateB\003\340A\003\022@\n\rapply_results\030\007 \001(\0132$.g" + + "oogle.cloud.config.v1.ApplyResultsB\003\340A\003\022" + + "\031\n\014state_detail\030\010 \001(\tB\003\340A\003\022C\n\nerror_code" + + "\030\t \001(\0162*.google.cloud.config.v1.Revision" + + ".ErrorCodeB\003\340A\003\022\022\n\005build\030\n \001(\tB\003\340A\003\022\021\n\004l" + + "ogs\030\013 \001(\tB\003\340A\003\022>\n\ttf_errors\030\014 \003(\0132&.goog" + + "le.cloud.config.v1.TerraformErrorB\003\340A\003\022\027" + + "\n\nerror_logs\030\r \001(\tB\003\340A\003\022B\n\017service_accou" + + "nt\030\016 \001(\tB)\340A\003\372A#\n!iam.googleapis.com/Ser" + + "viceAccount\022&\n\031import_existing_resources" + + "\030\017 \001(\010B\003\340A\003\022A\n\013worker_pool\030\021 \001(\tB,\340A\003\372A&" + + "\n$cloudbuild.googleapis.com/WorkerPool\022\"" + + "\n\025tf_version_constraint\030\022 \001(\tB\003\340A\003\022\027\n\ntf" + + "_version\030\023 \001(\tB\003\340A\003\022%\n\030quota_validation_" + + "results\030\035 \001(\tB\003\340A\003\022F\n\020quota_validation\030\024" + + " \001(\0162\'.google.cloud.config.v1.QuotaValid" + + "ationB\003\340A\001\"D\n\006Action\022\026\n\022ACTION_UNSPECIFI" + + "ED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003" + + "\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010APPL" + + "YING\020\001\022\013\n\007APPLIED\020\002\022\n\n\006FAILED\020\003\"\237\001\n\tErro" + + "rCode\022\032\n\026ERROR_CODE_UNSPECIFIED\020\000\022!\n\035CLO" + + "UD_BUILD_PERMISSION_DENIED\020\001\022\032\n\026APPLY_BU" + + "ILD_API_FAILED\020\004\022\032\n\026APPLY_BUILD_RUN_FAIL" + + "ED\020\005\022\033\n\027QUOTA_VALIDATION_FAILED\020\007:z\352Aw\n\036" + + "config.googleapis.com/Revision\022Uprojects" + + "/{project}/locations/{location}/deployme" + + "nts/{deployment}/revisions/{revision}B\013\n" + + "\tblueprint\"\204\001\n\016TerraformError\022\030\n\020resourc" + + "e_address\030\001 \001(\t\022\032\n\022http_response_code\030\002 " + + "\001(\005\022\031\n\021error_description\030\003 \001(\t\022!\n\005error\030" + + "\004 \001(\0132\022.google.rpc.Status\"v\n\tGitSource\022\026" + + "\n\004repo\030\001 \001(\tB\003\340A\001H\000\210\001\001\022\033\n\tdirectory\030\002 \001(" + + "\tB\003\340A\001H\001\210\001\001\022\025\n\003ref\030\003 \001(\tB\003\340A\001H\002\210\001\001B\007\n\005_r" + + "epoB\014\n\n_directoryB\006\n\004_ref\"\237\004\n\033Deployment" + + "OperationMetadata\022P\n\004step\030\001 \001(\0162B.google" + + ".cloud.config.v1.DeploymentOperationMeta" + + "data.DeploymentStep\022;\n\rapply_results\030\002 \001" + + "(\0132$.google.cloud.config.v1.ApplyResults" + + "\022\022\n\005build\030\003 \001(\tB\003\340A\003\022\021\n\004logs\030\004 \001(\tB\003\340A\003\"" + + "\311\002\n\016DeploymentStep\022\037\n\033DEPLOYMENT_STEP_UN" + + "SPECIFIED\020\000\022\034\n\030PREPARING_STORAGE_BUCKET\020" + + "\001\022\031\n\025DOWNLOADING_BLUEPRINT\020\002\022\023\n\017RUNNING_" + + "TF_INIT\020\003\022\023\n\017RUNNING_TF_PLAN\020\004\022\024\n\020RUNNIN" + + "G_TF_APPLY\020\005\022\026\n\022RUNNING_TF_DESTROY\020\006\022\027\n\023" + + "RUNNING_TF_VALIDATE\020\007\022\030\n\024UNLOCKING_DEPLO" + + "YMENT\020\010\022\r\n\tSUCCEEDED\020\t\022\n\n\006FAILED\020\n\022\031\n\025VA" + + "LIDATING_REPOSITORY\020\013\022\034\n\030RUNNING_QUOTA_V" + + "ALIDATION\020\014\"\330\005\n\010Resource\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\003\022J\n\016terraform_info\030\002 \001(\0132-.google.clo" + + "ud.config.v1.ResourceTerraformInfoB\003\340A\003\022" + + "H\n\ncai_assets\030\003 \003(\0132/.google.cloud.confi" + + "g.v1.Resource.CaiAssetsEntryB\003\340A\003\022<\n\006int" + + "ent\030\004 \001(\0162\'.google.cloud.config.v1.Resou" + + "rce.IntentB\003\340A\003\022:\n\005state\030\005 \001(\0162&.google." + + "cloud.config.v1.Resource.StateB\003\340A\003\032Y\n\016C" + + "aiAssetsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(" + + "\0132\'.google.cloud.config.v1.ResourceCAIIn" + + "fo:\0028\001\"a\n\006Intent\022\026\n\022INTENT_UNSPECIFIED\020\000" + + "\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\022\014\n\010" + + "RECREATE\020\004\022\r\n\tUNCHANGED\020\005\"X\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\013\n\007PLANNED\020\001\022\017\n\013IN_PRO" + + "GRESS\020\002\022\016\n\nRECONCILED\020\003\022\n\n\006FAILED\020\004:\220\001\352A" + + "\214\001\n\036config.googleapis.com/Resource\022jproj" + + "ects/{project}/locations/{location}/depl" + + "oyments/{deployment}/revisions/{revision" + + "}/resources/{resource}\"B\n\025ResourceTerraf" + + "ormInfo\022\017\n\007address\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\n" + + "\n\002id\030\003 \001(\t\"-\n\017ResourceCAIInfo\022\032\n\022full_re" + + "source_name\030\001 \001(\t\"J\n\022GetResourceRequest\022" + + "4\n\004name\030\001 \001(\tB&\340A\002\372A \n\036config.googleapis" + + ".com/Resource\"\227\001\n\024ListResourcesRequest\0226" + + "\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036config.googleapi" + + "s.com/Revision\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_b" + + "y\030\005 \001(\t\"z\n\025ListResourcesResponse\0223\n\treso" + + "urces\030\001 \003(\0132 .google.cloud.config.v1.Res" + + "ource\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac" + + "hable\030\003 \003(\t\"$\n\tStatefile\022\027\n\nsigned_uri\030\001" + + " \001(\tB\003\340A\003\"p\n ExportDeploymentStatefileRe" + + "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n config.go" + + "ogleapis.com/Deployment\022\022\n\005draft\030\003 \001(\010B\003" + + "\340A\001\"X\n\036ExportRevisionStatefileRequest\0226\n" + + "\006parent\030\001 \001(\tB&\340A\002\372A \n\036config.googleapis" + + ".com/Revision\"\201\001\n\026ImportStatefileRequest" + + "\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n config.googlea" + + "pis.com/Deployment\022\024\n\007lock_id\030\002 \001(\003B\003\340A\002" + + "\022\027\n\nskip_draft\030\003 \001(\010B\003\340A\001\"f\n\026DeleteState" + + "fileRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n confi" + + "g.googleapis.com/Deployment\022\024\n\007lock_id\030\002" + + " \001(\003B\003\340A\002\"O\n\025LockDeploymentRequest\0226\n\004na" + + "me\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.com/" + + "Deployment\"g\n\027UnlockDeploymentRequest\0226\n" + + "\004name\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.c" + + "om/Deployment\022\024\n\007lock_id\030\002 \001(\003B\003\340A\002\"O\n\025E" + + "xportLockInfoRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" + + "A\"\n config.googleapis.com/Deployment\"\213\001\n" + + "\010LockInfo\022\017\n\007lock_id\030\001 \001(\003\022\021\n\toperation\030" + + "\002 \001(\t\022\014\n\004info\030\003 \001(\t\022\013\n\003who\030\004 \001(\t\022\017\n\007vers" + + "ion\030\005 \001(\t\022/\n\013create_time\030\006 \001(\0132\032.google." + + "protobuf.Timestamp\"\234\014\n\007Preview\022I\n\023terraf" + + "orm_blueprint\030\006 \001(\0132*.google.cloud.confi" + + "g.v1.TerraformBlueprintH\000\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\010\0224\n\013create_time\030\002 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022@\n\006labels\030\003 \003(\0132+.goo" + + "gle.cloud.config.v1.Preview.LabelsEntryB" + + "\003\340A\001\0229\n\005state\030\004 \001(\0162%.google.cloud.confi" + + "g.v1.Preview.StateB\003\340A\003\022<\n\ndeployment\030\005 " + + "\001(\tB(\340A\001\372A\"\n config.googleapis.com/Deplo" + + "yment\022F\n\014preview_mode\030\017 \001(\0162+.google.clo" + + "ud.config.v1.Preview.PreviewModeB\003\340A\001\022B\n" + + "\017service_account\030\007 \001(\tB)\340A\001\372A#\n!iam.goog" + + "leapis.com/ServiceAccount\022&\n\024artifacts_g" + + "cs_bucket\030\010 \001(\tB\003\340A\001H\001\210\001\001\022F\n\013worker_pool" + + "\030\t \001(\tB,\340A\001\372A&\n$cloudbuild.googleapis.co" + + "m/WorkerPoolH\002\210\001\001\022B\n\nerror_code\030\n \001(\0162)." + + "google.cloud.config.v1.Preview.ErrorCode" + + "B\003\340A\003\022-\n\014error_status\030\013 \001(\0132\022.google.rpc" + + ".StatusB\003\340A\003\022\022\n\005build\030\014 \001(\tB\003\340A\003\022>\n\ttf_e" + + "rrors\030\r \003(\0132&.google.cloud.config.v1.Ter" + + "raformErrorB\003\340A\003\022\027\n\nerror_logs\030\016 \001(\tB\003\340A" + + "\003\022H\n\021preview_artifacts\030\020 \001(\0132(.google.cl" + + "oud.config.v1.PreviewArtifactsB\003\340A\003\022\021\n\004l" + + "ogs\030\021 \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"{\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\r\n\tSUCCEEDED" + + "\020\002\022\014\n\010APPLYING\020\003\022\t\n\005STALE\020\004\022\014\n\010DELETING\020" + + "\005\022\n\n\006FAILED\020\006\022\013\n\007DELETED\020\007\"D\n\013PreviewMod" + + "e\022\034\n\030PREVIEW_MODE_UNSPECIFIED\020\000\022\013\n\007DEFAU" + + "LT\020\001\022\n\n\006DELETE\020\002\"\355\001\n\tErrorCode\022\032\n\026ERROR_" + + "CODE_UNSPECIFIED\020\000\022!\n\035CLOUD_BUILD_PERMIS" + + "SION_DENIED\020\001\022%\n!BUCKET_CREATION_PERMISS" + + "ION_DENIED\020\002\022\032\n\026BUCKET_CREATION_FAILED\020\003" + + "\022\"\n\036DEPLOYMENT_LOCK_ACQUIRE_FAILED\020\004\022\034\n\030" + + "PREVIEW_BUILD_API_FAILED\020\005\022\034\n\030PREVIEW_BU" + + "ILD_RUN_FAILED\020\006:q\352An\n\035config.googleapis" + + ".com/Preview\022:projects/{project}/locatio" + + "ns/{location}/previews/{preview}*\010previe" + + "ws2\007previewB\013\n\tblueprintB\027\n\025_artifacts_g" + + "cs_bucketB\016\n\014_worker_pool\"\344\003\n\030PreviewOpe" + + "rationMetadata\022J\n\004step\030\001 \001(\0162<.google.cl" + + "oud.config.v1.PreviewOperationMetadata.P" + + "reviewStep\022C\n\021preview_artifacts\030\002 \001(\0132(." + + "google.cloud.config.v1.PreviewArtifacts\022" + + "\021\n\004logs\030\003 \001(\tB\003\340A\003\022\022\n\005build\030\004 \001(\tB\003\340A\003\"\217" + + "\002\n\013PreviewStep\022\034\n\030PREVIEW_STEP_UNSPECIFI" + + "ED\020\000\022\034\n\030PREPARING_STORAGE_BUCKET\020\001\022\031\n\025DO" + + "WNLOADING_BLUEPRINT\020\002\022\023\n\017RUNNING_TF_INIT" + + "\020\003\022\023\n\017RUNNING_TF_PLAN\020\004\022\027\n\023FETCHING_DEPL" + + "OYMENT\020\005\022\026\n\022LOCKING_DEPLOYMENT\020\006\022\030\n\024UNLO" + + "CKING_DEPLOYMENT\020\007\022\r\n\tSUCCEEDED\020\010\022\n\n\006FAI" + + "LED\020\t\022\031\n\025VALIDATING_REPOSITORY\020\n\"@\n\020Prev" + + "iewArtifacts\022\024\n\007content\030\001 \001(\tB\003\340A\003\022\026\n\tar" + + "tifacts\030\002 \001(\tB\003\340A\003\"\302\001\n\024CreatePreviewRequ" + + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g" + + "oogleapis.com/Location\022\027\n\npreview_id\030\002 \001" + + "(\tB\003\340A\001\0225\n\007preview\030\003 \001(\0132\037.google.cloud." + + "config.v1.PreviewB\003\340A\002\022\037\n\nrequest_id\030\004 \001" + + "(\tB\013\340A\001\342\214\317\327\010\002\010\001\"H\n\021GetPreviewRequest\0223\n\004" + + "name\030\001 \001(\tB%\340A\002\372A\037\n\035config.googleapis.co" + + "m/Preview\"\255\001\n\023ListPreviewsRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\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\023\n\006filter\030\004 \001(\tB\003\340" + + "A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"w\n\024ListPreview" + + "sResponse\0221\n\010previews\030\001 \003(\0132\037.google.clo" + + "ud.config.v1.Preview\022\027\n\017next_page_token\030" + + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"l\n\024DeletePrev" + + "iewRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035config" + + ".googleapis.com/Preview\022\037\n\nrequest_id\030\002 " + + "\001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"S\n\032ExportPreviewResultR" + + "equest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\n\035config.g" + + "oogleapis.com/Preview\"Y\n\033ExportPreviewRe" + + "sultResponse\022:\n\006result\030\001 \001(\0132%.google.cl" + + "oud.config.v1.PreviewResultB\003\340A\003\"M\n\rPrev" + + "iewResult\022\036\n\021binary_signed_uri\030\001 \001(\tB\003\340A" + + "\003\022\034\n\017json_signed_uri\030\002 \001(\tB\003\340A\003\"Z\n\032GetTe" + + "rraformVersionRequest\022<\n\004name\030\001 \001(\tB.\340A\002" + + "\372A(\n&config.googleapis.com/TerraformVers" + + "ion\"\266\001\n\034ListTerraformVersionsRequest\0229\n\006" + + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" + + "is.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\023\n\006filter\030\004 \001(\t" + + "B\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"\223\001\n\035ListTer" + + "raformVersionsResponse\022D\n\022terraform_vers" + + "ions\030\001 \003(\0132(.google.cloud.config.v1.Terr" + + "aformVersion\022\027\n\017next_page_token\030\002 \001(\t\022\023\n" + + "\013unreachable\030\003 \003(\t\"\255\004\n\020TerraformVersion\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\010\022B\n\005state\030\002 \001(\0162..goog" + + "le.cloud.config.v1.TerraformVersion.Stat" + + "eB\003\340A\003\0225\n\014support_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022<\n\016deprecate_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003H\000" + + "\210\001\001\022;\n\robsolete_time\030\005 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003H\001\210\001\001\"H\n\005State\022\025\n\021STA" + + "TE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\016\n\nDEPRECAT" + + "ED\020\002\022\014\n\010OBSOLETE\020\003:\240\001\352A\234\001\n&config.google" + + "apis.com/TerraformVersion\022Mprojects/{pro" + + "ject}/locations/{location}/terraformVers" + + "ions/{terraform_version}*\021terraformVersi" + + "ons2\020terraformVersionB\021\n\017_deprecate_time" + + "B\020\n\016_obsolete_time*N\n\017QuotaValidation\022 \n" + + "\034QUOTA_VALIDATION_UNSPECIFIED\020\000\022\013\n\007ENABL" + + "ED\020\001\022\014\n\010ENFORCED\020\0022\247#\n\006Config\022\264\001\n\017ListDe" + + "ployments\022..google.cloud.config.v1.ListD" + + "eploymentsRequest\032/.google.cloud.config." + + "v1.ListDeploymentsResponse\"@\332A\006parent\202\323\344" + + "\223\0021\022//v1/{parent=projects/*/locations/*}" + + "/deployments\022\241\001\n\rGetDeployment\022,.google." + + "cloud.config.v1.GetDeploymentRequest\032\".g" + + "oogle.cloud.config.v1.Deployment\">\332A\004nam" + + "e\202\323\344\223\0021\022//v1/{name=projects/*/locations/" + + "*/deployments/*}\022\354\001\n\020CreateDeployment\022/." + + "google.cloud.config.v1.CreateDeploymentR" + + "equest\032\035.google.longrunning.Operation\"\207\001" + + "\312A\037\n\nDeployment\022\021OperationMetadata\332A\037par" + + "ent,deployment,deployment_id\202\323\344\223\002=\"//v1/" + + "{parent=projects/*/locations/*}/deployme" + + "nts:\ndeployment\022\356\001\n\020UpdateDeployment\022/.g" + + "oogle.cloud.config.v1.UpdateDeploymentRe" + + "quest\032\035.google.longrunning.Operation\"\211\001\312" + + "A\037\n\nDeployment\022\021OperationMetadata\332A\026depl" + + "oyment,update_mask\202\323\344\223\002H2:/v1/{deploymen" + + "t.name=projects/*/locations/*/deployment" + + "s/*}:\ndeployment\022\304\001\n\020DeleteDeployment\022/." + + "google.cloud.config.v1.DeleteDeploymentR" + + "equest\032\035.google.longrunning.Operation\"`\312" + + "A\037\n\nDeployment\022\021OperationMetadata\332A\004name" + + "\202\323\344\223\0021*//v1/{name=projects/*/locations/*" + + "/deployments/*}\022\272\001\n\rListRevisions\022,.goog" + + "le.cloud.config.v1.ListRevisionsRequest\032" + + "-.google.cloud.config.v1.ListRevisionsRe" + + "sponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{parent=pro" + + "jects/*/locations/*/deployments/*}/revis" + + "ions\022\247\001\n\013GetRevision\022*.google.cloud.conf" + + "ig.v1.GetRevisionRequest\032 .google.cloud." + + "config.v1.Revision\"J\332A\004name\202\323\344\223\002=\022;/v1/{" + + "name=projects/*/locations/*/deployments/" + + "*/revisions/*}\022\263\001\n\013GetResource\022*.google." + + "cloud.config.v1.GetResourceRequest\032 .goo" + + "gle.cloud.config.v1.Resource\"V\332A\004name\202\323\344" + + "\223\002I\022G/v1/{name=projects/*/locations/*/de" + + "ployments/*/revisions/*/resources/*}\022\306\001\n" + + "\rListResources\022,.google.cloud.config.v1." + + "ListResourcesRequest\032-.google.cloud.conf" + + "ig.v1.ListResourcesResponse\"X\332A\006parent\202\323" + + "\344\223\002I\022G/v1/{parent=projects/*/locations/*" + + "/deployments/*/revisions/*}/resources\022\302\001" + + "\n\031ExportDeploymentStatefile\0228.google.clo" + + "ud.config.v1.ExportDeploymentStatefileRe" + + "quest\032!.google.cloud.config.v1.Statefile" + + "\"H\202\323\344\223\002B\"=/v1/{parent=projects/*/locatio" + + "ns/*/deployments/*}:exportState:\001*\022\312\001\n\027E" + + "xportRevisionStatefile\0226.google.cloud.co" + + "nfig.v1.ExportRevisionStatefileRequest\032!" + + ".google.cloud.config.v1.Statefile\"T\202\323\344\223\002" + + "N\"I/v1/{parent=projects/*/locations/*/de" + + "ployments/*/revisions/*}:exportState:\001*\022" + + "\277\001\n\017ImportStatefile\022..google.cloud.confi" + + "g.v1.ImportStatefileRequest\032!.google.clo" + + "ud.config.v1.Statefile\"Y\332A\016parent,lock_i" + + "d\202\323\344\223\002B\"=/v1/{parent=projects/*/location" + + "s/*/deployments/*}:importState:\001*\022\250\001\n\017De" + + "leteStatefile\022..google.cloud.config.v1.D" + + "eleteStatefileRequest\032\026.google.protobuf." + + "Empty\"M\332A\004name\202\323\344\223\002@\";/v1/{name=projects" + + "/*/locations/*/deployments/*}:deleteStat" + + "e:\001*\022\310\001\n\016LockDeployment\022-.google.cloud.c" + + "onfig.v1.LockDeploymentRequest\032\035.google." + + "longrunning.Operation\"h\312A\037\n\nDeployment\022\021" + + "OperationMetadata\332A\004name\202\323\344\223\0029\"4/v1/{nam" + + "e=projects/*/locations/*/deployments/*}:" + + "lock:\001*\022\326\001\n\020UnlockDeployment\022/.google.cl" + + "oud.config.v1.UnlockDeploymentRequest\032\035.", + "google.longrunning.Operation\"r\312A\037\n\nDeplo" + + "yment\022\021OperationMetadata\332A\014name,lock_id\202" + + "\323\344\223\002;\"6/v1/{name=projects/*/locations/*/" + + "deployments/*}:unlock:\001*\022\254\001\n\016ExportLockI" + + "nfo\022-.google.cloud.config.v1.ExportLockI" + + "nfoRequest\032 .google.cloud.config.v1.Lock" + + "Info\"I\332A\004name\202\323\344\223\002<\022:/v1/{name=projects/" + + "*/locations/*/deployments/*}:exportLock\022" + + "\313\001\n\rCreatePreview\022,.google.cloud.config." + + "v1.CreatePreviewRequest\032\035.google.longrun" + + "ning.Operation\"m\312A\034\n\007Preview\022\021OperationM" + + "etadata\332A\016parent,preview\202\323\344\223\0027\",/v1/{par" + + "ent=projects/*/locations/*}/previews:\007pr" + + "eview\022\225\001\n\nGetPreview\022).google.cloud.conf" + + "ig.v1.GetPreviewRequest\032\037.google.cloud.c" + + "onfig.v1.Preview\";\332A\004name\202\323\344\223\002.\022,/v1/{na" + + "me=projects/*/locations/*/previews/*}\022\250\001" + + "\n\014ListPreviews\022+.google.cloud.config.v1." + + "ListPreviewsRequest\032,.google.cloud.confi" + + "g.v1.ListPreviewsResponse\"=\332A\006parent\202\323\344\223" + + "\002.\022,/v1/{parent=projects/*/locations/*}/" + + "previews\022\270\001\n\rDeletePreview\022,.google.clou" + + "d.config.v1.DeletePreviewRequest\032\035.googl" + + "e.longrunning.Operation\"Z\312A\034\n\007Preview\022\021O" + + "perationMetadata\332A\004name\202\323\344\223\002.*,/v1/{name" + + "=projects/*/locations/*/previews/*}\022\300\001\n\023" + + "ExportPreviewResult\0222.google.cloud.confi" + + "g.v1.ExportPreviewResultRequest\0323.google" + + ".cloud.config.v1.ExportPreviewResultResp" + + "onse\"@\202\323\344\223\002:\"5/v1/{parent=projects/*/loc" + + "ations/*/previews/*}:export:\001*\022\314\001\n\025ListT" + + "erraformVersions\0224.google.cloud.config.v" + + "1.ListTerraformVersionsRequest\0325.google." + + "cloud.config.v1.ListTerraformVersionsRes" + + "ponse\"F\332A\006parent\202\323\344\223\0027\0225/v1/{parent=proj" + + "ects/*/locations/*}/terraformVersions\022\271\001" + + "\n\023GetTerraformVersion\0222.google.cloud.con" + + "fig.v1.GetTerraformVersionRequest\032(.goog" + + "le.cloud.config.v1.TerraformVersion\"D\332A\004" + + "name\202\323\344\223\0027\0225/v1/{name=projects/*/locatio" + + "ns/*/terraformVersions/*}\032I\312A\025config.goo" + + "gleapis.com\322A.https://www.googleapis.com" + + "/auth/cloud-platformB\374\002\n\032com.google.clou" + + "d.config.v1B\013ConfigProtoP\001Z2cloud.google" + + ".com/go/config/apiv1/configpb;configpb\252\002" + + "\026Google.Cloud.Config.V1\312\002\026Google\\Cloud\\C" + + "onfig\\V1\352\002 Google::Cloud::ConfigService:" + + ":V1\352AY\n!iam.googleapis.com/ServiceAccoun" + + "t\0224projects/{project}/serviceAccounts/{s" + + "ervice_account}\352Ai\n$cloudbuild.googleapi" + + "s.com/WorkerPool\022Aprojects/{project}/loc" + + "ations/{location}/workerPools/{worker_po" + + "ol}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.FieldInfoProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_config_v1_Deployment_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Deployment_descriptor, + new java.lang.String[] { + "TerraformBlueprint", + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "State", + "LatestRevision", + "StateDetail", + "ErrorCode", + "DeleteResults", + "DeleteBuild", + "DeleteLogs", + "TfErrors", + "ErrorLogs", + "ArtifactsGcsBucket", + "ServiceAccount", + "ImportExistingResources", + "WorkerPool", + "LockState", + "TfVersionConstraint", + "TfVersion", + "QuotaValidation", + "Blueprint", + }); + internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor = + internal_static_google_cloud_config_v1_Deployment_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_config_v1_Deployment_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor, + new java.lang.String[] { + "GcsSource", "GitSource", "InputValues", "Source", + }); + internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor = + internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_TerraformVariable_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformVariable_descriptor, + new java.lang.String[] { + "InputValue", + }); + internal_static_google_cloud_config_v1_ApplyResults_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ApplyResults_descriptor, + new java.lang.String[] { + "Content", "Artifacts", "Outputs", + }); + internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor = + internal_static_google_cloud_config_v1_ApplyResults_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_TerraformOutput_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformOutput_descriptor, + new java.lang.String[] { + "Sensitive", "Value", + }); + internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor, + new java.lang.String[] { + "Deployments", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor, + new java.lang.String[] { + "Revisions", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor, + new java.lang.String[] { + "Parent", "DeploymentId", "Deployment", "RequestId", + }); + internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Deployment", "RequestId", + }); + internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Force", "DeletePolicy", + }); + internal_static_google_cloud_config_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "DeploymentMetadata", + "PreviewMetadata", + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + "ResourceMetadata", + }); + internal_static_google_cloud_config_v1_Revision_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_config_v1_Revision_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Revision_descriptor, + new java.lang.String[] { + "TerraformBlueprint", + "Name", + "CreateTime", + "UpdateTime", + "Action", + "State", + "ApplyResults", + "StateDetail", + "ErrorCode", + "Build", + "Logs", + "TfErrors", + "ErrorLogs", + "ServiceAccount", + "ImportExistingResources", + "WorkerPool", + "TfVersionConstraint", + "TfVersion", + "QuotaValidationResults", + "QuotaValidation", + "Blueprint", + }); + internal_static_google_cloud_config_v1_TerraformError_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformError_descriptor, + new java.lang.String[] { + "ResourceAddress", "HttpResponseCode", "ErrorDescription", "Error", + }); + internal_static_google_cloud_config_v1_GitSource_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_GitSource_descriptor, + new java.lang.String[] { + "Repo", "Directory", "Ref", + }); + internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor, + new java.lang.String[] { + "Step", "ApplyResults", "Build", "Logs", + }); + internal_static_google_cloud_config_v1_Resource_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_config_v1_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Resource_descriptor, + new java.lang.String[] { + "Name", "TerraformInfo", "CaiAssets", "Intent", "State", + }); + internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor = + internal_static_google_cloud_config_v1_Resource_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor, + new java.lang.String[] { + "Address", "Type", "Id", + }); + internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor, + new java.lang.String[] { + "FullResourceName", + }); + internal_static_google_cloud_config_v1_GetResourceRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetResourceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor, + new java.lang.String[] { + "Resources", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_config_v1_Statefile_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Statefile_descriptor, + new java.lang.String[] { + "SignedUri", + }); + internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor, + new java.lang.String[] { + "Parent", "Draft", + }); + internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor, + new java.lang.String[] { + "Parent", + }); + internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor, + new java.lang.String[] { + "Parent", "LockId", "SkipDraft", + }); + internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor, + new java.lang.String[] { + "Name", "LockId", + }); + internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", "LockId", + }); + internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_LockInfo_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_LockInfo_descriptor, + new java.lang.String[] { + "LockId", "Operation", "Info", "Who", "Version", "CreateTime", + }); + internal_static_google_cloud_config_v1_Preview_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_config_v1_Preview_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Preview_descriptor, + new java.lang.String[] { + "TerraformBlueprint", + "Name", + "CreateTime", + "Labels", + "State", + "Deployment", + "PreviewMode", + "ServiceAccount", + "ArtifactsGcsBucket", + "WorkerPool", + "ErrorCode", + "ErrorStatus", + "Build", + "TfErrors", + "ErrorLogs", + "PreviewArtifacts", + "Logs", + "Blueprint", + }); + internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor = + internal_static_google_cloud_config_v1_Preview_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_config_v1_Preview_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor, + new java.lang.String[] { + "Step", "PreviewArtifacts", "Logs", "Build", + }); + internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor, + new java.lang.String[] { + "Content", "Artifacts", + }); + internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor, + new java.lang.String[] { + "Parent", "PreviewId", "Preview", "RequestId", + }); + internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor, + new java.lang.String[] { + "Previews", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", + }); + internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor, + new java.lang.String[] { + "Parent", + }); + internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor, + new java.lang.String[] { + "Result", + }); + internal_static_google_cloud_config_v1_PreviewResult_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_PreviewResult_descriptor, + new java.lang.String[] { + "BinarySignedUri", "JsonSignedUri", + }); + internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor, + new java.lang.String[] { + "TerraformVersions", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_config_v1_TerraformVersion_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformVersion_descriptor, + new java.lang.String[] { + "Name", "State", "SupportTime", "DeprecateTime", "ObsoleteTime", + }); + 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.FieldInfoProto.fieldInfo); + 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); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.FieldInfoProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java similarity index 69% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java index 0e23565c6faa..49e79c7516a7 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequest.java @@ -1,21 +1,35 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -/** - * Protobuf type {@code google.cloud.config.v1.CreateDeploymentRequest} - */ -public final class CreateDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.config.v1.CreateDeploymentRequest} */ +public final class CreateDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.CreateDeploymentRequest) CreateDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDeploymentRequest.newBuilder() to construct. private CreateDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDeploymentRequest() { parent_ = ""; deploymentId_ = ""; @@ -24,35 +38,42 @@ private CreateDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDeploymentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.CreateDeploymentRequest.class, com.google.cloud.config.v1.CreateDeploymentRequest.Builder.class); + com.google.cloud.config.v1.CreateDeploymentRequest.class, + com.google.cloud.config.v1.CreateDeploymentRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the Deployment is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 @@ -61,30 +82,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 in whose context the Deployment is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 { @@ -93,14 +116,18 @@ public java.lang.String getParent() { } public static final int DEPLOYMENT_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object deploymentId_ = ""; /** + * + * *
    * Required. The Deployment ID.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deploymentId. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; } } /** + * + * *
    * Required. The Deployment ID.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentIdBytes() { + public com.google.protobuf.ByteString getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deploymentId_ = b; return b; } else { @@ -142,12 +169,17 @@ public java.lang.String getDeploymentId() { public static final int DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.config.v1.Deployment deployment_; /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
    * created.
    * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ @java.lang.Override @@ -155,35 +187,51 @@ public boolean hasDeployment() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
    * created.
    * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ @java.lang.Override public com.google.cloud.config.v1.Deployment getDeployment() { - return deployment_ == null ? com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
    * created.
    * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { - return deployment_ == null ? com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -201,6 +249,7 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -209,14 +258,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -234,16 +284,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -252,6 +301,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +313,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_); } @@ -293,8 +342,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deploymentId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeployment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -307,24 +355,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.config.v1.CreateDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.CreateDeploymentRequest other = (com.google.cloud.config.v1.CreateDeploymentRequest) obj; + com.google.cloud.config.v1.CreateDeploymentRequest other = + (com.google.cloud.config.v1.CreateDeploymentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDeploymentId() - .equals(other.getDeploymentId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDeploymentId().equals(other.getDeploymentId())) return false; if (hasDeployment() != other.hasDeployment()) return false; if (hasDeployment()) { - if (!getDeployment() - .equals(other.getDeployment())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,115 +397,118 @@ public int hashCode() { } public static com.google.cloud.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.CreateDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.CreateDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.CreateDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest 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.config.v1.CreateDeploymentRequest 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; } - /** - * Protobuf type {@code google.cloud.config.v1.CreateDeploymentRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.config.v1.CreateDeploymentRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.CreateDeploymentRequest) com.google.cloud.config.v1.CreateDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.CreateDeploymentRequest.class, com.google.cloud.config.v1.CreateDeploymentRequest.Builder.class); + com.google.cloud.config.v1.CreateDeploymentRequest.class, + com.google.cloud.config.v1.CreateDeploymentRequest.Builder.class); } // Construct using com.google.cloud.config.v1.CreateDeploymentRequest.newBuilder() @@ -468,17 +516,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) { getDeploymentFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +543,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override @@ -516,8 +564,11 @@ public com.google.cloud.config.v1.CreateDeploymentRequest build() { @java.lang.Override public com.google.cloud.config.v1.CreateDeploymentRequest buildPartial() { - com.google.cloud.config.v1.CreateDeploymentRequest result = new com.google.cloud.config.v1.CreateDeploymentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.CreateDeploymentRequest result = + new com.google.cloud.config.v1.CreateDeploymentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,9 +583,7 @@ private void buildPartial0(com.google.cloud.config.v1.CreateDeploymentRequest re } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.deployment_ = deploymentBuilder_ == null - ? deployment_ - : deploymentBuilder_.build(); + result.deployment_ = deploymentBuilder_ == null ? deployment_ : deploymentBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -547,38 +596,39 @@ private void buildPartial0(com.google.cloud.config.v1.CreateDeploymentRequest re 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.config.v1.CreateDeploymentRequest) { - return mergeFrom((com.google.cloud.config.v1.CreateDeploymentRequest)other); + return mergeFrom((com.google.cloud.config.v1.CreateDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -586,7 +636,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.CreateDeploymentRequest other) { - if (other == com.google.cloud.config.v1.CreateDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.CreateDeploymentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -631,34 +682,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - deploymentId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getDeploymentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deploymentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getDeploymentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -668,23 +722,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the Deployment is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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; @@ -693,21 +752,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Deployment is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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 { @@ -715,30 +777,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Deployment is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the Deployment is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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() { @@ -748,18 +821,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the Deployment is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -769,18 +848,20 @@ public Builder setParentBytes( private java.lang.Object deploymentId_ = ""; /** + * + * *
      * Required. The Deployment ID.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deploymentId. */ public java.lang.String getDeploymentId() { java.lang.Object ref = deploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; @@ -789,20 +870,21 @@ public java.lang.String getDeploymentId() { } } /** + * + * *
      * Required. The Deployment ID.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deploymentId. */ - public com.google.protobuf.ByteString - getDeploymentIdBytes() { + public com.google.protobuf.ByteString getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deploymentId_ = b; return b; } else { @@ -810,28 +892,35 @@ public java.lang.String getDeploymentId() { } } /** + * + * *
      * Required. The Deployment ID.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The deploymentId to set. * @return This builder for chaining. */ - public Builder setDeploymentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeploymentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deploymentId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The Deployment ID.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDeploymentId() { @@ -841,17 +930,21 @@ public Builder clearDeploymentId() { return this; } /** + * + * *
      * Required. The Deployment ID.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for deploymentId to set. * @return This builder for chaining. */ - public Builder setDeploymentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deploymentId_ = value; bitField0_ |= 0x00000002; @@ -861,42 +954,61 @@ public Builder setDeploymentIdBytes( private com.google.cloud.config.v1.Deployment deployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder> deploymentBuilder_; + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> + deploymentBuilder_; /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ public boolean hasDeployment() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ public com.google.cloud.config.v1.Deployment getDeployment() { if (deploymentBuilder_ == null) { - return deployment_ == null ? com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } else { return deploymentBuilder_.getMessage(); } } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeployment(com.google.cloud.config.v1.Deployment value) { if (deploymentBuilder_ == null) { @@ -912,15 +1024,18 @@ public Builder setDeployment(com.google.cloud.config.v1.Deployment value) { return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDeployment( - com.google.cloud.config.v1.Deployment.Builder builderForValue) { + public Builder setDeployment(com.google.cloud.config.v1.Deployment.Builder builderForValue) { if (deploymentBuilder_ == null) { deployment_ = builderForValue.build(); } else { @@ -931,18 +1046,22 @@ public Builder setDeployment( return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeployment(com.google.cloud.config.v1.Deployment value) { if (deploymentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - deployment_ != null && - deployment_ != com.google.cloud.config.v1.Deployment.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && deployment_ != null + && deployment_ != com.google.cloud.config.v1.Deployment.getDefaultInstance()) { getDeploymentBuilder().mergeFrom(value); } else { deployment_ = value; @@ -957,12 +1076,16 @@ public Builder mergeDeployment(com.google.cloud.config.v1.Deployment value) { return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeployment() { bitField0_ = (bitField0_ & ~0x00000004); @@ -975,12 +1098,16 @@ public Builder clearDeployment() { return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.Deployment.Builder getDeploymentBuilder() { bitField0_ |= 0x00000004; @@ -988,38 +1115,50 @@ public com.google.cloud.config.v1.Deployment.Builder getDeploymentBuilder() { return getDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { if (deploymentBuilder_ != null) { return deploymentBuilder_.getMessageOrBuilder(); } else { - return deployment_ == null ? - com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
      * created.
      * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder> + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> getDeploymentFieldBuilder() { if (deploymentBuilder_ == null) { - deploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder>( - getDeployment(), - getParentForChildren(), - isClean()); + deploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder>( + getDeployment(), getParentForChildren(), isClean()); deployment_ = null; } return deploymentBuilder_; @@ -1027,6 +1166,8 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1044,13 +1185,13 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1059,6 +1200,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1076,15 +1219,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1092,6 +1234,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1109,18 +1253,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1138,6 +1286,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1147,6 +1296,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1164,21 +1315,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; 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); } @@ -1188,12 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.CreateDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.CreateDeploymentRequest) private static final com.google.cloud.config.v1.CreateDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.CreateDeploymentRequest(); } @@ -1202,27 +1355,27 @@ public static com.google.cloud.config.v1.CreateDeploymentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1237,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.CreateDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java index 4fbf40180a5b..6e67b23c0b4e 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentRequestOrBuilder.java @@ -1,86 +1,132 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface CreateDeploymentRequestOrBuilder extends +public interface CreateDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.CreateDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the Deployment is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 in whose context the Deployment is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 Deployment ID.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deploymentId. */ java.lang.String getDeploymentId(); /** + * + * *
    * Required. The Deployment ID.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deploymentId. */ - com.google.protobuf.ByteString - getDeploymentIdBytes(); + com.google.protobuf.ByteString getDeploymentIdBytes(); /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
    * created.
    * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ boolean hasDeployment(); /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
    * created.
    * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ com.google.cloud.config.v1.Deployment getDeployment(); /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
    * created.
    * 
* - * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,10 +144,13 @@ public interface CreateDeploymentRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -119,8 +168,8 @@ public interface CreateDeploymentRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java index 7d7ffed597ee..aeb8fbaf1539 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to create a preview.
  * 
* * Protobuf type {@code google.cloud.config.v1.CreatePreviewRequest} */ -public final class CreatePreviewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreatePreviewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.CreatePreviewRequest) CreatePreviewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePreviewRequest.newBuilder() to construct. private CreatePreviewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreatePreviewRequest() { parent_ = ""; previewId_ = ""; @@ -28,35 +46,42 @@ private CreatePreviewRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePreviewRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.CreatePreviewRequest.class, com.google.cloud.config.v1.CreatePreviewRequest.Builder.class); + com.google.cloud.config.v1.CreatePreviewRequest.class, + com.google.cloud.config.v1.CreatePreviewRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the Preview is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 @@ -65,30 +90,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 in whose context the Preview is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 { @@ -97,14 +124,18 @@ public java.lang.String getParent() { } public static final int PREVIEW_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object previewId_ = ""; /** + * + * *
    * Optional. The preview ID.
    * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The previewId. */ @java.lang.Override @@ -113,29 +144,29 @@ public java.lang.String getPreviewId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previewId_ = s; return s; } } /** + * + * *
    * Optional. The preview ID.
    * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for previewId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPreviewIdBytes() { + public com.google.protobuf.ByteString getPreviewIdBytes() { java.lang.Object ref = previewId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); previewId_ = b; return b; } else { @@ -146,11 +177,15 @@ public java.lang.String getPreviewId() { public static final int PREVIEW_FIELD_NUMBER = 3; private com.google.cloud.config.v1.Preview preview_; /** + * + * *
    * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
    * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the preview field is set. */ @java.lang.Override @@ -158,11 +193,15 @@ public boolean hasPreview() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
    * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The preview. */ @java.lang.Override @@ -170,11 +209,14 @@ public com.google.cloud.config.v1.Preview getPreview() { return preview_ == null ? com.google.cloud.config.v1.Preview.getDefaultInstance() : preview_; } /** + * + * *
    * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
    * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder() { @@ -182,9 +224,12 @@ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -201,7 +246,10 @@ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder() {
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The requestId. */ @java.lang.Override @@ -210,14 +258,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -234,17 +283,18 @@ public java.lang.String getRequestId() {
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +303,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +315,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_); } @@ -294,8 +344,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, previewId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPreview()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPreview()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -308,24 +357,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.config.v1.CreatePreviewRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.CreatePreviewRequest other = (com.google.cloud.config.v1.CreatePreviewRequest) obj; + com.google.cloud.config.v1.CreatePreviewRequest other = + (com.google.cloud.config.v1.CreatePreviewRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPreviewId() - .equals(other.getPreviewId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPreviewId().equals(other.getPreviewId())) return false; if (hasPreview() != other.hasPreview()) return false; if (hasPreview()) { - if (!getPreview() - .equals(other.getPreview())) return false; + if (!getPreview().equals(other.getPreview())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,120 +398,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.CreatePreviewRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.CreatePreviewRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.CreatePreviewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.CreatePreviewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.CreatePreviewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest 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.config.v1.CreatePreviewRequest 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; } /** + * + * *
    * A request to create a preview.
    * 
* * Protobuf type {@code google.cloud.config.v1.CreatePreviewRequest} */ - 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.config.v1.CreatePreviewRequest) com.google.cloud.config.v1.CreatePreviewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.CreatePreviewRequest.class, com.google.cloud.config.v1.CreatePreviewRequest.Builder.class); + com.google.cloud.config.v1.CreatePreviewRequest.class, + com.google.cloud.config.v1.CreatePreviewRequest.Builder.class); } // Construct using com.google.cloud.config.v1.CreatePreviewRequest.newBuilder() @@ -473,17 +526,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) { getPreviewFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; } @java.lang.Override @@ -521,8 +574,11 @@ public com.google.cloud.config.v1.CreatePreviewRequest build() { @java.lang.Override public com.google.cloud.config.v1.CreatePreviewRequest buildPartial() { - com.google.cloud.config.v1.CreatePreviewRequest result = new com.google.cloud.config.v1.CreatePreviewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.CreatePreviewRequest result = + new com.google.cloud.config.v1.CreatePreviewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -537,9 +593,7 @@ private void buildPartial0(com.google.cloud.config.v1.CreatePreviewRequest resul } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.preview_ = previewBuilder_ == null - ? preview_ - : previewBuilder_.build(); + result.preview_ = previewBuilder_ == null ? preview_ : previewBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -552,38 +606,39 @@ private void buildPartial0(com.google.cloud.config.v1.CreatePreviewRequest resul 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.config.v1.CreatePreviewRequest) { - return mergeFrom((com.google.cloud.config.v1.CreatePreviewRequest)other); + return mergeFrom((com.google.cloud.config.v1.CreatePreviewRequest) other); } else { super.mergeFrom(other); return this; @@ -591,7 +646,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.CreatePreviewRequest other) { - if (other == com.google.cloud.config.v1.CreatePreviewRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.CreatePreviewRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -636,34 +692,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - previewId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getPreviewFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + previewId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getPreviewFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,23 +732,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the Preview is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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; @@ -698,21 +762,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Preview is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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 { @@ -720,30 +787,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Preview is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the Preview is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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() { @@ -753,18 +831,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the Preview is created. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -774,18 +858,20 @@ public Builder setParentBytes( private java.lang.Object previewId_ = ""; /** + * + * *
      * Optional. The preview ID.
      * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The previewId. */ public java.lang.String getPreviewId() { java.lang.Object ref = previewId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previewId_ = s; return s; @@ -794,20 +880,21 @@ public java.lang.String getPreviewId() { } } /** + * + * *
      * Optional. The preview ID.
      * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for previewId. */ - public com.google.protobuf.ByteString - getPreviewIdBytes() { + public com.google.protobuf.ByteString getPreviewIdBytes() { java.lang.Object ref = previewId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); previewId_ = b; return b; } else { @@ -815,28 +902,35 @@ public java.lang.String getPreviewId() { } } /** + * + * *
      * Optional. The preview ID.
      * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The previewId to set. * @return This builder for chaining. */ - public Builder setPreviewId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPreviewId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } previewId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The preview ID.
      * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPreviewId() { @@ -846,17 +940,21 @@ public Builder clearPreviewId() { return this; } /** + * + * *
      * Optional. The preview ID.
      * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for previewId to set. * @return This builder for chaining. */ - public Builder setPreviewIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPreviewIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); previewId_ = value; bitField0_ |= 0x00000002; @@ -866,39 +964,55 @@ public Builder setPreviewIdBytes( private com.google.cloud.config.v1.Preview preview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Preview, com.google.cloud.config.v1.Preview.Builder, com.google.cloud.config.v1.PreviewOrBuilder> previewBuilder_; + com.google.cloud.config.v1.Preview, + com.google.cloud.config.v1.Preview.Builder, + com.google.cloud.config.v1.PreviewOrBuilder> + previewBuilder_; /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the preview field is set. */ public boolean hasPreview() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The preview. */ public com.google.cloud.config.v1.Preview getPreview() { if (previewBuilder_ == null) { - return preview_ == null ? com.google.cloud.config.v1.Preview.getDefaultInstance() : preview_; + return preview_ == null + ? com.google.cloud.config.v1.Preview.getDefaultInstance() + : preview_; } else { return previewBuilder_.getMessage(); } } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPreview(com.google.cloud.config.v1.Preview value) { if (previewBuilder_ == null) { @@ -914,14 +1028,16 @@ public Builder setPreview(com.google.cloud.config.v1.Preview value) { return this; } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPreview( - com.google.cloud.config.v1.Preview.Builder builderForValue) { + public Builder setPreview(com.google.cloud.config.v1.Preview.Builder builderForValue) { if (previewBuilder_ == null) { preview_ = builderForValue.build(); } else { @@ -932,17 +1048,20 @@ public Builder setPreview( return this; } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePreview(com.google.cloud.config.v1.Preview value) { if (previewBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - preview_ != null && - preview_ != com.google.cloud.config.v1.Preview.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && preview_ != null + && preview_ != com.google.cloud.config.v1.Preview.getDefaultInstance()) { getPreviewBuilder().mergeFrom(value); } else { preview_ = value; @@ -957,11 +1076,14 @@ public Builder mergePreview(com.google.cloud.config.v1.Preview value) { return this; } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPreview() { bitField0_ = (bitField0_ & ~0x00000004); @@ -974,11 +1096,14 @@ public Builder clearPreview() { return this; } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.Preview.Builder getPreviewBuilder() { bitField0_ |= 0x00000004; @@ -986,36 +1111,46 @@ public com.google.cloud.config.v1.Preview.Builder getPreviewBuilder() { return getPreviewFieldBuilder().getBuilder(); } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder() { if (previewBuilder_ != null) { return previewBuilder_.getMessageOrBuilder(); } else { - return preview_ == null ? - com.google.cloud.config.v1.Preview.getDefaultInstance() : preview_; + return preview_ == null + ? com.google.cloud.config.v1.Preview.getDefaultInstance() + : preview_; } } /** + * + * *
      * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
      * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Preview, com.google.cloud.config.v1.Preview.Builder, com.google.cloud.config.v1.PreviewOrBuilder> + com.google.cloud.config.v1.Preview, + com.google.cloud.config.v1.Preview.Builder, + com.google.cloud.config.v1.PreviewOrBuilder> getPreviewFieldBuilder() { if (previewBuilder_ == null) { - previewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Preview, com.google.cloud.config.v1.Preview.Builder, com.google.cloud.config.v1.PreviewOrBuilder>( - getPreview(), - getParentForChildren(), - isClean()); + previewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.Preview, + com.google.cloud.config.v1.Preview.Builder, + com.google.cloud.config.v1.PreviewOrBuilder>( + getPreview(), getParentForChildren(), isClean()); preview_ = null; } return previewBuilder_; @@ -1023,6 +1158,8 @@ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1039,14 +1176,16 @@ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1055,6 +1194,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1071,16 +1212,17 @@ public java.lang.String getRequestId() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1088,6 +1230,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1104,19 +1248,25 @@ public java.lang.String getRequestId() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,7 +1283,10 @@ public Builder setRequestId(
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1143,6 +1296,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1159,22 +1314,26 @@ public Builder clearRequestId() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; 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); } @@ -1184,12 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.CreatePreviewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.CreatePreviewRequest) private static final com.google.cloud.config.v1.CreatePreviewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.CreatePreviewRequest(); } @@ -1198,27 +1357,27 @@ public static com.google.cloud.config.v1.CreatePreviewRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePreviewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePreviewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1233,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.CreatePreviewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java index ea9f43428f8f..49f1f11e50c2 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreatePreviewRequestOrBuilder.java @@ -1,83 +1,126 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface CreatePreviewRequestOrBuilder extends +public interface CreatePreviewRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.CreatePreviewRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the Preview is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 in whose context the Preview is created. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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. The preview ID.
    * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The previewId. */ java.lang.String getPreviewId(); /** + * + * *
    * Optional. The preview ID.
    * 
* * string preview_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for previewId. */ - com.google.protobuf.ByteString - getPreviewIdBytes(); + com.google.protobuf.ByteString getPreviewIdBytes(); /** + * + * *
    * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
    * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the preview field is set. */ boolean hasPreview(); /** + * + * *
    * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
    * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The preview. */ com.google.cloud.config.v1.Preview getPreview(); /** + * + * *
    * Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
    * 
* - * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.config.v1.Preview preview = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.config.v1.PreviewOrBuilder getPreviewOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,11 +137,16 @@ public interface CreatePreviewRequestOrBuilder extends
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,9 +163,11 @@ public interface CreatePreviewRequestOrBuilder extends
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java index 52af02fcfae2..d3762aa3a255 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequest.java @@ -1,21 +1,35 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -/** - * Protobuf type {@code google.cloud.config.v1.DeleteDeploymentRequest} - */ -public final class DeleteDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.config.v1.DeleteDeploymentRequest} */ +public final class DeleteDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeleteDeploymentRequest) DeleteDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDeploymentRequest.newBuilder() to construct. private DeleteDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDeploymentRequest() { name_ = ""; requestId_ = ""; @@ -24,34 +38,38 @@ private DeleteDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDeploymentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeleteDeploymentRequest.class, com.google.cloud.config.v1.DeleteDeploymentRequest.Builder.class); + com.google.cloud.config.v1.DeleteDeploymentRequest.class, + com.google.cloud.config.v1.DeleteDeploymentRequest.Builder.class); } /** + * + * *
    * Policy on how resources actuated by the deployment should be deleted.
    * 
* * Protobuf enum {@code google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy} */ - public enum DeletePolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum DeletePolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified policy, resources will be deleted.
      * 
@@ -60,6 +78,8 @@ public enum DeletePolicy */ DELETE_POLICY_UNSPECIFIED(0), /** + * + * *
      * Deletes resources actuated by the deployment.
      * 
@@ -68,6 +88,8 @@ public enum DeletePolicy */ DELETE(1), /** + * + * *
      * Abandons resources and only deletes the deployment and its metadata.
      * 
@@ -79,6 +101,8 @@ public enum DeletePolicy ; /** + * + * *
      * Unspecified policy, resources will be deleted.
      * 
@@ -87,6 +111,8 @@ public enum DeletePolicy */ public static final int DELETE_POLICY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Deletes resources actuated by the deployment.
      * 
@@ -95,6 +121,8 @@ public enum DeletePolicy */ public static final int DELETE_VALUE = 1; /** + * + * *
      * Abandons resources and only deletes the deployment and its metadata.
      * 
@@ -103,7 +131,6 @@ public enum DeletePolicy */ public static final int ABANDON_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -128,49 +155,51 @@ public static DeletePolicy valueOf(int value) { */ public static DeletePolicy forNumber(int value) { switch (value) { - case 0: return DELETE_POLICY_UNSPECIFIED; - case 1: return DELETE; - case 2: return ABANDON; - default: return null; + case 0: + return DELETE_POLICY_UNSPECIFIED; + case 1: + return DELETE; + case 2: + return ABANDON; + 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< - DeletePolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeletePolicy findValueByNumber(int number) { - return DeletePolicy.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 DeletePolicy findValueByNumber(int number) { + return DeletePolicy.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.config.v1.DeleteDeploymentRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeleteDeploymentRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final DeletePolicy[] VALUES = values(); - public static DeletePolicy valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeletePolicy 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; @@ -188,15 +217,21 @@ private DeletePolicy(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 @@ -205,30 +240,32 @@ 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 name of the Deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 { @@ -237,9 +274,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -257,6 +297,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -265,14 +306,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -290,16 +332,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -310,6 +351,8 @@ public java.lang.String getRequestId() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_ = false; /** + * + * *
    * Optional. If set to true, any revisions for this deployment will also be
    * deleted. (Otherwise, the request will only work if the deployment has no
@@ -317,6 +360,7 @@ public java.lang.String getRequestId() {
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -327,34 +371,50 @@ public boolean getForce() { public static final int DELETE_POLICY_FIELD_NUMBER = 4; private int deletePolicy_ = 0; /** + * + * *
    * Optional. Policy on how resources actuated by the deployment should be
    * deleted. If unspecified, the default behavior is to delete the underlying
    * resources.
    * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for deletePolicy. */ - @java.lang.Override public int getDeletePolicyValue() { + @java.lang.Override + public int getDeletePolicyValue() { return deletePolicy_; } /** + * + * *
    * Optional. Policy on how resources actuated by the deployment should be
    * deleted. If unspecified, the default behavior is to delete the underlying
    * resources.
    * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The deletePolicy. */ - @java.lang.Override public com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy() { - com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy result = com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.forNumber(deletePolicy_); - return result == null ? com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy() { + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy result = + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.forNumber(deletePolicy_); + return result == null + ? com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -366,8 +426,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_); } @@ -377,7 +436,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (force_ != false) { output.writeBool(3, force_); } - if (deletePolicy_ != com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.DELETE_POLICY_UNSPECIFIED.getNumber()) { + if (deletePolicy_ + != com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.DELETE_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(4, deletePolicy_); } getUnknownFields().writeTo(output); @@ -396,12 +457,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); } - if (deletePolicy_ != com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.DELETE_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, deletePolicy_); + if (deletePolicy_ + != com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.DELETE_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, deletePolicy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -411,19 +472,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.config.v1.DeleteDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.DeleteDeploymentRequest other = (com.google.cloud.config.v1.DeleteDeploymentRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getForce() - != other.getForce()) return false; + com.google.cloud.config.v1.DeleteDeploymentRequest other = + (com.google.cloud.config.v1.DeleteDeploymentRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getForce() != other.getForce()) return false; if (deletePolicy_ != other.deletePolicy_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -441,8 +500,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + DELETE_POLICY_FIELD_NUMBER; hash = (53 * hash) + deletePolicy_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -451,127 +509,127 @@ public int hashCode() { } public static com.google.cloud.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.DeleteDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.DeleteDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.DeleteDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest 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.config.v1.DeleteDeploymentRequest 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; } - /** - * Protobuf type {@code google.cloud.config.v1.DeleteDeploymentRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.config.v1.DeleteDeploymentRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeleteDeploymentRequest) com.google.cloud.config.v1.DeleteDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeleteDeploymentRequest.class, com.google.cloud.config.v1.DeleteDeploymentRequest.Builder.class); + com.google.cloud.config.v1.DeleteDeploymentRequest.class, + com.google.cloud.config.v1.DeleteDeploymentRequest.Builder.class); } // Construct using com.google.cloud.config.v1.DeleteDeploymentRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -584,9 +642,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override @@ -605,8 +663,11 @@ public com.google.cloud.config.v1.DeleteDeploymentRequest build() { @java.lang.Override public com.google.cloud.config.v1.DeleteDeploymentRequest buildPartial() { - com.google.cloud.config.v1.DeleteDeploymentRequest result = new com.google.cloud.config.v1.DeleteDeploymentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.DeleteDeploymentRequest result = + new com.google.cloud.config.v1.DeleteDeploymentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -631,38 +692,39 @@ private void buildPartial0(com.google.cloud.config.v1.DeleteDeploymentRequest re 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.config.v1.DeleteDeploymentRequest) { - return mergeFrom((com.google.cloud.config.v1.DeleteDeploymentRequest)other); + return mergeFrom((com.google.cloud.config.v1.DeleteDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -670,7 +732,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.DeleteDeploymentRequest other) { - if (other == com.google.cloud.config.v1.DeleteDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.DeleteDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -713,32 +776,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - force_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - deletePolicy_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + force_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + deletePolicy_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -748,23 +816,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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; @@ -773,21 +846,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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 { @@ -795,30 +871,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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() { @@ -828,18 +915,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -849,6 +942,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -866,13 +961,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -881,6 +976,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -898,15 +995,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -914,6 +1010,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -931,18 +1029,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -960,6 +1062,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -969,6 +1072,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -986,12 +1091,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -999,8 +1106,10 @@ public Builder setRequestIdBytes( return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. If set to true, any revisions for this deployment will also be
      * deleted. (Otherwise, the request will only work if the deployment has no
@@ -1008,6 +1117,7 @@ public Builder setRequestIdBytes(
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -1015,6 +1125,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. If set to true, any revisions for this deployment will also be
      * deleted. (Otherwise, the request will only work if the deployment has no
@@ -1022,6 +1134,7 @@ public boolean getForce() {
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -1033,6 +1146,8 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, any revisions for this deployment will also be
      * deleted. (Otherwise, the request will only work if the deployment has no
@@ -1040,6 +1155,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1051,26 +1167,37 @@ public Builder clearForce() { private int deletePolicy_ = 0; /** + * + * *
      * Optional. Policy on how resources actuated by the deployment should be
      * deleted. If unspecified, the default behavior is to delete the underlying
      * resources.
      * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for deletePolicy. */ - @java.lang.Override public int getDeletePolicyValue() { + @java.lang.Override + public int getDeletePolicyValue() { return deletePolicy_; } /** + * + * *
      * Optional. Policy on how resources actuated by the deployment should be
      * deleted. If unspecified, the default behavior is to delete the underlying
      * resources.
      * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for deletePolicy to set. * @return This builder for chaining. */ @@ -1081,32 +1208,46 @@ public Builder setDeletePolicyValue(int value) { return this; } /** + * + * *
      * Optional. Policy on how resources actuated by the deployment should be
      * deleted. If unspecified, the default behavior is to delete the underlying
      * resources.
      * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The deletePolicy. */ @java.lang.Override public com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy() { - com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy result = com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.forNumber(deletePolicy_); - return result == null ? com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.UNRECOGNIZED : result; + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy result = + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.forNumber(deletePolicy_); + return result == null + ? com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Policy on how resources actuated by the deployment should be
      * deleted. If unspecified, the default behavior is to delete the underlying
      * resources.
      * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The deletePolicy to set. * @return This builder for chaining. */ - public Builder setDeletePolicy(com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy value) { + public Builder setDeletePolicy( + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy value) { if (value == null) { throw new NullPointerException(); } @@ -1116,13 +1257,18 @@ public Builder setDeletePolicy(com.google.cloud.config.v1.DeleteDeploymentReques return this; } /** + * + * *
      * Optional. Policy on how resources actuated by the deployment should be
      * deleted. If unspecified, the default behavior is to delete the underlying
      * resources.
      * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearDeletePolicy() { @@ -1131,9 +1277,9 @@ public Builder clearDeletePolicy() { 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); } @@ -1143,12 +1289,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeleteDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeleteDeploymentRequest) private static final com.google.cloud.config.v1.DeleteDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeleteDeploymentRequest(); } @@ -1157,27 +1303,27 @@ public static com.google.cloud.config.v1.DeleteDeploymentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,6 +1338,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.DeleteDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java index 963f4f959a77..bfdd8ee7be67 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentRequestOrBuilder.java @@ -1,36 +1,63 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface DeleteDeploymentRequestOrBuilder extends +public interface DeleteDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeleteDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the Deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 name of the Deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -48,10 +75,13 @@ public interface DeleteDeploymentRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -69,12 +99,14 @@ public interface DeleteDeploymentRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set to true, any revisions for this deployment will also be
    * deleted. (Otherwise, the request will only work if the deployment has no
@@ -82,29 +114,40 @@ public interface DeleteDeploymentRequestOrBuilder extends
    * 
* * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ boolean getForce(); /** + * + * *
    * Optional. Policy on how resources actuated by the deployment should be
    * deleted. If unspecified, the default behavior is to delete the underlying
    * resources.
    * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for deletePolicy. */ int getDeletePolicyValue(); /** + * + * *
    * Optional. Policy on how resources actuated by the deployment should be
    * deleted. If unspecified, the default behavior is to delete the underlying
    * resources.
    * 
* - * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The deletePolicy. */ com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java similarity index 69% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java index b6b231f31185..bd0cd93a6b69 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to delete a preview.
  * 
* * Protobuf type {@code google.cloud.config.v1.DeletePreviewRequest} */ -public final class DeletePreviewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePreviewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeletePreviewRequest) DeletePreviewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePreviewRequest.newBuilder() to construct. private DeletePreviewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePreviewRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeletePreviewRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePreviewRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeletePreviewRequest.class, com.google.cloud.config.v1.DeletePreviewRequest.Builder.class); + com.google.cloud.config.v1.DeletePreviewRequest.class, + com.google.cloud.config.v1.DeletePreviewRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Preview in the format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * string 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 @@ -63,30 +88,32 @@ 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 name of the Preview in the format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * string 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 { @@ -95,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,7 +144,10 @@ public java.lang.String getName() {
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The requestId. */ @java.lang.Override @@ -123,14 +156,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,17 +181,18 @@ public java.lang.String getRequestId() {
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,6 +201,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +213,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_); } @@ -208,17 +243,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.config.v1.DeletePreviewRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.DeletePreviewRequest other = (com.google.cloud.config.v1.DeletePreviewRequest) obj; + com.google.cloud.config.v1.DeletePreviewRequest other = + (com.google.cloud.config.v1.DeletePreviewRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,132 +273,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.DeletePreviewRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.DeletePreviewRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeletePreviewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.DeletePreviewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.DeletePreviewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest 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.config.v1.DeletePreviewRequest 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; } /** + * + * *
    * A request to delete a preview.
    * 
* * Protobuf type {@code google.cloud.config.v1.DeletePreviewRequest} */ - 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.config.v1.DeletePreviewRequest) com.google.cloud.config.v1.DeletePreviewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeletePreviewRequest.class, com.google.cloud.config.v1.DeletePreviewRequest.Builder.class); + com.google.cloud.config.v1.DeletePreviewRequest.class, + com.google.cloud.config.v1.DeletePreviewRequest.Builder.class); } // Construct using com.google.cloud.config.v1.DeletePreviewRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; } @java.lang.Override @@ -396,8 +434,11 @@ public com.google.cloud.config.v1.DeletePreviewRequest build() { @java.lang.Override public com.google.cloud.config.v1.DeletePreviewRequest buildPartial() { - com.google.cloud.config.v1.DeletePreviewRequest result = new com.google.cloud.config.v1.DeletePreviewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.DeletePreviewRequest result = + new com.google.cloud.config.v1.DeletePreviewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -416,38 +457,39 @@ private void buildPartial0(com.google.cloud.config.v1.DeletePreviewRequest resul 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.config.v1.DeletePreviewRequest) { - return mergeFrom((com.google.cloud.config.v1.DeletePreviewRequest)other); + return mergeFrom((com.google.cloud.config.v1.DeletePreviewRequest) other); } else { super.mergeFrom(other); return this; @@ -455,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.DeletePreviewRequest other) { - if (other == com.google.cloud.config.v1.DeletePreviewRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.DeletePreviewRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -492,22 +535,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -517,23 +563,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Preview in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * string 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; @@ -542,21 +593,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Preview in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * string 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 { @@ -564,30 +618,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Preview in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Preview in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * string 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() { @@ -597,18 +662,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Preview in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -618,6 +689,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -634,14 +707,16 @@ public Builder setNameBytes(
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -650,6 +725,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,16 +743,17 @@ public java.lang.String getRequestId() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -683,6 +761,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -699,19 +779,25 @@ public java.lang.String getRequestId() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -728,7 +814,10 @@ public Builder setRequestId(
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -738,6 +827,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -754,22 +845,26 @@ public Builder clearRequestId() {
      * not supported (00000000-0000-0000-0000-000000000000).
      * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; 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); } @@ -779,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeletePreviewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeletePreviewRequest) private static final com.google.cloud.config.v1.DeletePreviewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeletePreviewRequest(); } @@ -793,27 +888,27 @@ public static com.google.cloud.config.v1.DeletePreviewRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePreviewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePreviewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,6 +923,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.DeletePreviewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java index d9d7e78cc6cd..51f306db6bf5 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeletePreviewRequestOrBuilder.java @@ -1,36 +1,63 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface DeletePreviewRequestOrBuilder extends +public interface DeletePreviewRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeletePreviewRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the Preview in the format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * string 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 name of the Preview in the format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * string 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. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,11 +74,16 @@ public interface DeletePreviewRequestOrBuilder extends
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,9 +100,11 @@ public interface DeletePreviewRequestOrBuilder extends
    * not supported (00000000-0000-0000-0000-000000000000).
    * 
* - * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java similarity index 64% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java index dd82cc344f6e..c698c478323b 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to delete a state file passed to a 'DeleteStatefile' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.DeleteStatefileRequest} */ -public final class DeleteStatefileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteStatefileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeleteStatefileRequest) DeleteStatefileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteStatefileRequest.newBuilder() to construct. private DeleteStatefileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteStatefileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteStatefileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeleteStatefileRequest.class, com.google.cloud.config.v1.DeleteStatefileRequest.Builder.class); + com.google.cloud.config.v1.DeleteStatefileRequest.class, + com.google.cloud.config.v1.DeleteStatefileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 { @@ -96,12 +123,15 @@ public java.lang.String getName() { public static final int LOCK_ID_FIELD_NUMBER = 2; private long lockId_ = 0L; /** + * + * *
    * Required. Lock ID of the lock file to verify that the user who is deleting
    * the state file previously locked the Deployment.
    * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ @java.lang.Override @@ -110,6 +140,7 @@ public long getLockId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +152,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_); } @@ -142,8 +172,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (lockId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, lockId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, lockId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -153,17 +182,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.config.v1.DeleteStatefileRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.DeleteStatefileRequest other = (com.google.cloud.config.v1.DeleteStatefileRequest) obj; + com.google.cloud.config.v1.DeleteStatefileRequest other = + (com.google.cloud.config.v1.DeleteStatefileRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getLockId() - != other.getLockId()) return false; + if (!getName().equals(other.getName())) return false; + if (getLockId() != other.getLockId()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,139 +206,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + LOCK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLockId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLockId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeleteStatefileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.DeleteStatefileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.DeleteStatefileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.DeleteStatefileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest 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.config.v1.DeleteStatefileRequest 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; } /** + * + * *
    * A request to delete a state file passed to a 'DeleteStatefile' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.DeleteStatefileRequest} */ - 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.config.v1.DeleteStatefileRequest) com.google.cloud.config.v1.DeleteStatefileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeleteStatefileRequest.class, com.google.cloud.config.v1.DeleteStatefileRequest.Builder.class); + com.google.cloud.config.v1.DeleteStatefileRequest.class, + com.google.cloud.config.v1.DeleteStatefileRequest.Builder.class); } // Construct using com.google.cloud.config.v1.DeleteStatefileRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; } @java.lang.Override @@ -342,8 +373,11 @@ public com.google.cloud.config.v1.DeleteStatefileRequest build() { @java.lang.Override public com.google.cloud.config.v1.DeleteStatefileRequest buildPartial() { - com.google.cloud.config.v1.DeleteStatefileRequest result = new com.google.cloud.config.v1.DeleteStatefileRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.DeleteStatefileRequest result = + new com.google.cloud.config.v1.DeleteStatefileRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -362,38 +396,39 @@ private void buildPartial0(com.google.cloud.config.v1.DeleteStatefileRequest res 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.config.v1.DeleteStatefileRequest) { - return mergeFrom((com.google.cloud.config.v1.DeleteStatefileRequest)other); + return mergeFrom((com.google.cloud.config.v1.DeleteStatefileRequest) other); } else { super.mergeFrom(other); return this; @@ -401,7 +436,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.DeleteStatefileRequest other) { - if (other == com.google.cloud.config.v1.DeleteStatefileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.DeleteStatefileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,22 +472,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - lockId_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + lockId_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,23 +500,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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; @@ -486,21 +530,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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 { @@ -508,30 +555,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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() { @@ -541,18 +599,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -560,14 +624,17 @@ public Builder setNameBytes( return this; } - private long lockId_ ; + private long lockId_; /** + * + * *
      * Required. Lock ID of the lock file to verify that the user who is deleting
      * the state file previously locked the Deployment.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ @java.lang.Override @@ -575,12 +642,15 @@ public long getLockId() { return lockId_; } /** + * + * *
      * Required. Lock ID of the lock file to verify that the user who is deleting
      * the state file previously locked the Deployment.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The lockId to set. * @return This builder for chaining. */ @@ -592,12 +662,15 @@ public Builder setLockId(long value) { return this; } /** + * + * *
      * Required. Lock ID of the lock file to verify that the user who is deleting
      * the state file previously locked the Deployment.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLockId() { @@ -606,9 +679,9 @@ public Builder clearLockId() { 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); } @@ -618,12 +691,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeleteStatefileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeleteStatefileRequest) private static final com.google.cloud.config.v1.DeleteStatefileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeleteStatefileRequest(); } @@ -632,27 +705,27 @@ public static com.google.cloud.config.v1.DeleteStatefileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteStatefileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteStatefileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -667,6 +740,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.DeleteStatefileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java index a58b2e208356..25492778bd3d 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteStatefileRequestOrBuilder.java @@ -1,42 +1,70 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface DeleteStatefileRequestOrBuilder extends +public interface DeleteStatefileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeleteStatefileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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. Lock ID of the lock file to verify that the user who is deleting
    * the state file previously locked the Deployment.
    * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ long getLockId(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java index ad12a84eafc2..5b0828f0d02b 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Deployment.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * A Deployment is a group of resources and configs managed and provisioned by
  * Infra Manager.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.config.v1.Deployment}
  */
-public final class Deployment extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Deployment extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.Deployment)
     DeploymentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Deployment.newBuilder() to construct.
   private Deployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Deployment() {
     name_ = "";
     state_ = 0;
@@ -42,14 +60,13 @@ private Deployment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Deployment();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Deployment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Deployment_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -60,28 +77,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 4:
         return internalGetLabels();
       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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.Deployment.class, com.google.cloud.config.v1.Deployment.Builder.class);
+            com.google.cloud.config.v1.Deployment.class,
+            com.google.cloud.config.v1.Deployment.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a deployment.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Deployment.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -90,6 +112,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The deployment is being created.
      * 
@@ -98,6 +122,8 @@ public enum State */ CREATING(1), /** + * + * *
      * The deployment is healthy.
      * 
@@ -106,6 +132,8 @@ public enum State */ ACTIVE(2), /** + * + * *
      * The deployment is being updated.
      * 
@@ -114,6 +142,8 @@ public enum State */ UPDATING(3), /** + * + * *
      * The deployment is being deleted.
      * 
@@ -122,6 +152,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The deployment has encountered an unexpected error.
      * 
@@ -130,6 +162,8 @@ public enum State */ FAILED(5), /** + * + * *
      * The deployment is no longer being actively reconciled.
      * This may be the result of recovering the project after deletion.
@@ -139,6 +173,8 @@ public enum State
      */
     SUSPENDED(6),
     /**
+     *
+     *
      * 
      * The deployment has been deleted.
      * 
@@ -150,6 +186,8 @@ public enum State ; /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -158,6 +196,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The deployment is being created.
      * 
@@ -166,6 +206,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * The deployment is healthy.
      * 
@@ -174,6 +216,8 @@ public enum State */ public static final int ACTIVE_VALUE = 2; /** + * + * *
      * The deployment is being updated.
      * 
@@ -182,6 +226,8 @@ public enum State */ public static final int UPDATING_VALUE = 3; /** + * + * *
      * The deployment is being deleted.
      * 
@@ -190,6 +236,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The deployment has encountered an unexpected error.
      * 
@@ -198,6 +246,8 @@ public enum State */ public static final int FAILED_VALUE = 5; /** + * + * *
      * The deployment is no longer being actively reconciled.
      * This may be the result of recovering the project after deletion.
@@ -207,6 +257,8 @@ public enum State
      */
     public static final int SUSPENDED_VALUE = 6;
     /**
+     *
+     *
      * 
      * The deployment has been deleted.
      * 
@@ -215,7 +267,6 @@ public enum State */ public static final int DELETED_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -240,54 +291,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return ACTIVE; - case 3: return UPDATING; - case 4: return DELETING; - case 5: return FAILED; - case 6: return SUSPENDED; - case 7: return DELETED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return ACTIVE; + case 3: + return UPDATING; + case 4: + return DELETING; + case 5: + return FAILED; + case 6: + return SUSPENDED; + case 7: + return DELETED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Deployment.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; @@ -305,15 +361,18 @@ private State(int value) { } /** + * + * *
    * Possible errors that can occur with deployments.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Deployment.ErrorCode} */ - public enum ErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No error code was specified.
      * 
@@ -322,6 +381,8 @@ public enum ErrorCode */ ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * The revision failed. See Revision for more details.
      * 
@@ -330,6 +391,8 @@ public enum ErrorCode */ REVISION_FAILED(1), /** + * + * *
      * Cloud Build failed due to a permission issue.
      * 
@@ -338,6 +401,8 @@ public enum ErrorCode */ CLOUD_BUILD_PERMISSION_DENIED(3), /** + * + * *
      * Cloud Build job associated with a deployment deletion could not be
      * started.
@@ -347,6 +412,8 @@ public enum ErrorCode
      */
     DELETE_BUILD_API_FAILED(5),
     /**
+     *
+     *
      * 
      * Cloud Build job associated with a deployment deletion was started but
      * failed.
@@ -356,6 +423,8 @@ public enum ErrorCode
      */
     DELETE_BUILD_RUN_FAILED(6),
     /**
+     *
+     *
      * 
      * Cloud Storage bucket creation failed due to a permission issue.
      * 
@@ -364,6 +433,8 @@ public enum ErrorCode */ BUCKET_CREATION_PERMISSION_DENIED(7), /** + * + * *
      * Cloud Storage bucket creation failed due to an issue unrelated to
      * permissions.
@@ -376,6 +447,8 @@ public enum ErrorCode
     ;
 
     /**
+     *
+     *
      * 
      * No error code was specified.
      * 
@@ -384,6 +457,8 @@ public enum ErrorCode */ public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The revision failed. See Revision for more details.
      * 
@@ -392,6 +467,8 @@ public enum ErrorCode */ public static final int REVISION_FAILED_VALUE = 1; /** + * + * *
      * Cloud Build failed due to a permission issue.
      * 
@@ -400,6 +477,8 @@ public enum ErrorCode */ public static final int CLOUD_BUILD_PERMISSION_DENIED_VALUE = 3; /** + * + * *
      * Cloud Build job associated with a deployment deletion could not be
      * started.
@@ -409,6 +488,8 @@ public enum ErrorCode
      */
     public static final int DELETE_BUILD_API_FAILED_VALUE = 5;
     /**
+     *
+     *
      * 
      * Cloud Build job associated with a deployment deletion was started but
      * failed.
@@ -418,6 +499,8 @@ public enum ErrorCode
      */
     public static final int DELETE_BUILD_RUN_FAILED_VALUE = 6;
     /**
+     *
+     *
      * 
      * Cloud Storage bucket creation failed due to a permission issue.
      * 
@@ -426,6 +509,8 @@ public enum ErrorCode */ public static final int BUCKET_CREATION_PERMISSION_DENIED_VALUE = 7; /** + * + * *
      * Cloud Storage bucket creation failed due to an issue unrelated to
      * permissions.
@@ -435,7 +520,6 @@ public enum ErrorCode
      */
     public static final int BUCKET_CREATION_FAILED_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -460,53 +544,57 @@ public static ErrorCode valueOf(int value) {
      */
     public static ErrorCode forNumber(int value) {
       switch (value) {
-        case 0: return ERROR_CODE_UNSPECIFIED;
-        case 1: return REVISION_FAILED;
-        case 3: return CLOUD_BUILD_PERMISSION_DENIED;
-        case 5: return DELETE_BUILD_API_FAILED;
-        case 6: return DELETE_BUILD_RUN_FAILED;
-        case 7: return BUCKET_CREATION_PERMISSION_DENIED;
-        case 8: return BUCKET_CREATION_FAILED;
-        default: return null;
+        case 0:
+          return ERROR_CODE_UNSPECIFIED;
+        case 1:
+          return REVISION_FAILED;
+        case 3:
+          return CLOUD_BUILD_PERMISSION_DENIED;
+        case 5:
+          return DELETE_BUILD_API_FAILED;
+        case 6:
+          return DELETE_BUILD_RUN_FAILED;
+        case 7:
+          return BUCKET_CREATION_PERMISSION_DENIED;
+        case 8:
+          return BUCKET_CREATION_FAILED;
+        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<
-        ErrorCode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ErrorCode findValueByNumber(int number) {
-              return ErrorCode.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 ErrorCode findValueByNumber(int number) {
+            return ErrorCode.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.config.v1.Deployment.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ErrorCode[] VALUES = values();
 
-    public static ErrorCode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ErrorCode 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;
@@ -524,15 +612,18 @@ private ErrorCode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Possible lock states of a deployment.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Deployment.LockState} */ - public enum LockState - implements com.google.protobuf.ProtocolMessageEnum { + public enum LockState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the lock state is omitted.
      * 
@@ -541,6 +632,8 @@ public enum LockState */ LOCK_STATE_UNSPECIFIED(0), /** + * + * *
      * The deployment is locked.
      * 
@@ -549,6 +642,8 @@ public enum LockState */ LOCKED(1), /** + * + * *
      * The deployment is unlocked.
      * 
@@ -557,6 +652,8 @@ public enum LockState */ UNLOCKED(2), /** + * + * *
      * The deployment is being locked.
      * 
@@ -565,6 +662,8 @@ public enum LockState */ LOCKING(3), /** + * + * *
      * The deployment is being unlocked.
      * 
@@ -573,6 +672,8 @@ public enum LockState */ UNLOCKING(4), /** + * + * *
      * The deployment has failed to lock.
      * 
@@ -581,6 +682,8 @@ public enum LockState */ LOCK_FAILED(5), /** + * + * *
      * The deployment has failed to unlock.
      * 
@@ -592,6 +695,8 @@ public enum LockState ; /** + * + * *
      * The default value. This value is used if the lock state is omitted.
      * 
@@ -600,6 +705,8 @@ public enum LockState */ public static final int LOCK_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The deployment is locked.
      * 
@@ -608,6 +715,8 @@ public enum LockState */ public static final int LOCKED_VALUE = 1; /** + * + * *
      * The deployment is unlocked.
      * 
@@ -616,6 +725,8 @@ public enum LockState */ public static final int UNLOCKED_VALUE = 2; /** + * + * *
      * The deployment is being locked.
      * 
@@ -624,6 +735,8 @@ public enum LockState */ public static final int LOCKING_VALUE = 3; /** + * + * *
      * The deployment is being unlocked.
      * 
@@ -632,6 +745,8 @@ public enum LockState */ public static final int UNLOCKING_VALUE = 4; /** + * + * *
      * The deployment has failed to lock.
      * 
@@ -640,6 +755,8 @@ public enum LockState */ public static final int LOCK_FAILED_VALUE = 5; /** + * + * *
      * The deployment has failed to unlock.
      * 
@@ -648,7 +765,6 @@ public enum LockState */ public static final int UNLOCK_FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -673,53 +789,57 @@ public static LockState valueOf(int value) { */ public static LockState forNumber(int value) { switch (value) { - case 0: return LOCK_STATE_UNSPECIFIED; - case 1: return LOCKED; - case 2: return UNLOCKED; - case 3: return LOCKING; - case 4: return UNLOCKING; - case 5: return LOCK_FAILED; - case 6: return UNLOCK_FAILED; - default: return null; + case 0: + return LOCK_STATE_UNSPECIFIED; + case 1: + return LOCKED; + case 2: + return UNLOCKED; + case 3: + return LOCKING; + case 4: + return UNLOCKING; + case 5: + return LOCK_FAILED; + case 6: + return UNLOCK_FAILED; + 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< - LockState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LockState findValueByNumber(int number) { - return LockState.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 LockState findValueByNumber(int number) { + return LockState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Deployment.getDescriptor().getEnumTypes().get(2); } private static final LockState[] VALUES = values(); - public static LockState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LockState 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; @@ -738,14 +858,18 @@ private LockState(int value) { private int bitField0_; private int blueprintCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object blueprint_; + public enum BlueprintCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TERRAFORM_BLUEPRINT(6), BLUEPRINT_NOT_SET(0); private final int value; + private BlueprintCase(int value) { this.value = value; } @@ -761,30 +885,35 @@ public static BlueprintCase valueOf(int value) { public static BlueprintCase forNumber(int value) { switch (value) { - case 6: return TERRAFORM_BLUEPRINT; - case 0: return BLUEPRINT_NOT_SET; - default: return null; + case 6: + return TERRAFORM_BLUEPRINT; + case 0: + return BLUEPRINT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public BlueprintCase - getBlueprintCase() { - return BlueprintCase.forNumber( - blueprintCase_); + public BlueprintCase getBlueprintCase() { + return BlueprintCase.forNumber(blueprintCase_); } public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER = 6; /** + * + * *
    * A blueprint described using Terraform's HashiCorp Configuration Language
    * as a root module.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return Whether the terraformBlueprint field is set. */ @java.lang.Override @@ -792,22 +921,27 @@ public boolean hasTerraformBlueprint() { return blueprintCase_ == 6; } /** + * + * *
    * A blueprint described using Terraform's HashiCorp Configuration Language
    * as a root module.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return The terraformBlueprint. */ @java.lang.Override public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { if (blueprintCase_ == 6) { - return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; + return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; } return com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } /** + * + * *
    * A blueprint described using Terraform's HashiCorp Configuration Language
    * as a root module.
@@ -818,21 +952,25 @@ public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() {
   @java.lang.Override
   public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder() {
     if (blueprintCase_ == 6) {
-       return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_;
+      return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_;
     }
     return com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance();
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Resource name of the deployment.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -841,30 +979,30 @@ 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; } } /** + * + * *
    * Resource name of the deployment.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* * string name = 1; + * * @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 { @@ -875,11 +1013,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time when the deployment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -887,11 +1029,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. Time when the deployment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -899,11 +1045,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time when the deployment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -913,11 +1062,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time when the deployment was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -925,11 +1078,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. Time when the deployment was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -937,11 +1094,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time when the deployment was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -949,32 +1109,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Deployment_LabelsEntry_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.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * User-defined metadata for the deployment.
    * 
@@ -982,20 +1144,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * User-defined metadata for the deployment.
    * 
@@ -1007,6 +1170,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * User-defined metadata for the deployment.
    * 
@@ -1014,17 +1179,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * User-defined metadata for the deployment.
    * 
@@ -1032,11 +1199,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1046,33 +1213,49 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. Current state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.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. Current state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.config.v1.Deployment.State getState() { - com.google.cloud.config.v1.Deployment.State result = com.google.cloud.config.v1.Deployment.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.config.v1.Deployment.State getState() { + com.google.cloud.config.v1.Deployment.State result = + com.google.cloud.config.v1.Deployment.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Deployment.State.UNRECOGNIZED : result; } public static final int LATEST_REVISION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object latestRevision_ = ""; /** + * + * *
    * Output only. Revision name that was most recently applied.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -1080,6 +1263,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The latestRevision. */ @java.lang.Override @@ -1088,14 +1272,15 @@ public java.lang.String getLatestRevision() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); latestRevision_ = s; return s; } } /** + * + * *
    * Output only. Revision name that was most recently applied.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -1103,16 +1288,15 @@ public java.lang.String getLatestRevision() {
    * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for latestRevision. */ @java.lang.Override - public com.google.protobuf.ByteString - getLatestRevisionBytes() { + public com.google.protobuf.ByteString getLatestRevisionBytes() { java.lang.Object ref = latestRevision_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); latestRevision_ = b; return b; } else { @@ -1121,14 +1305,18 @@ public java.lang.String getLatestRevision() { } public static final int STATE_DETAIL_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object stateDetail_ = ""; /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDetail. */ @java.lang.Override @@ -1137,29 +1325,29 @@ public java.lang.String getStateDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDetail_ = s; return s; } } /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDetailBytes() { + public com.google.protobuf.ByteString getStateDetailBytes() { java.lang.Object ref = stateDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDetail_ = b; return b; } else { @@ -1170,37 +1358,55 @@ public java.lang.String getStateDetail() { public static final int ERROR_CODE_FIELD_NUMBER = 10; private int errorCode_ = 0; /** + * + * *
    * Output only. Error code describing errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
    * Output only. Error code describing errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ - @java.lang.Override public com.google.cloud.config.v1.Deployment.ErrorCode getErrorCode() { - com.google.cloud.config.v1.Deployment.ErrorCode result = com.google.cloud.config.v1.Deployment.ErrorCode.forNumber(errorCode_); + @java.lang.Override + public com.google.cloud.config.v1.Deployment.ErrorCode getErrorCode() { + com.google.cloud.config.v1.Deployment.ErrorCode result = + com.google.cloud.config.v1.Deployment.ErrorCode.forNumber(errorCode_); return result == null ? com.google.cloud.config.v1.Deployment.ErrorCode.UNRECOGNIZED : result; } public static final int DELETE_RESULTS_FIELD_NUMBER = 8; private com.google.cloud.config.v1.ApplyResults deleteResults_; /** + * + * *
    * Output only. Location of artifacts from a DeleteDeployment operation.
    * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteResults field is set. */ @java.lang.Override @@ -1208,39 +1414,56 @@ public boolean hasDeleteResults() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Output only. Location of artifacts from a DeleteDeployment operation.
    * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteResults. */ @java.lang.Override public com.google.cloud.config.v1.ApplyResults getDeleteResults() { - return deleteResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : deleteResults_; + return deleteResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : deleteResults_; } /** + * + * *
    * Output only. Location of artifacts from a DeleteDeployment operation.
    * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.ApplyResultsOrBuilder getDeleteResultsOrBuilder() { - return deleteResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : deleteResults_; + return deleteResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : deleteResults_; } public static final int DELETE_BUILD_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object deleteBuild_ = ""; /** + * + * *
    * Output only. Cloud Build instance UUID associated with deleting this
    * deployment.
    * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleteBuild. */ @java.lang.Override @@ -1249,30 +1472,30 @@ public java.lang.String getDeleteBuild() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deleteBuild_ = s; return s; } } /** + * + * *
    * Output only. Cloud Build instance UUID associated with deleting this
    * deployment.
    * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for deleteBuild. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeleteBuildBytes() { + public com.google.protobuf.ByteString getDeleteBuildBytes() { java.lang.Object ref = deleteBuild_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deleteBuild_ = b; return b; } else { @@ -1281,15 +1504,19 @@ public java.lang.String getDeleteBuild() { } public static final int DELETE_LOGS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object deleteLogs_ = ""; /** + * + * *
    * Output only. Location of Cloud Build logs in Google Cloud Storage,
    * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
    * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleteLogs. */ @java.lang.Override @@ -1298,30 +1525,30 @@ public java.lang.String getDeleteLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deleteLogs_ = s; return s; } } /** + * + * *
    * Output only. Location of Cloud Build logs in Google Cloud Storage,
    * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
    * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for deleteLogs. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeleteLogsBytes() { + public com.google.protobuf.ByteString getDeleteLogsBytes() { java.lang.Object ref = deleteLogs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deleteLogs_ = b; return b; } else { @@ -1330,86 +1557,110 @@ public java.lang.String getDeleteLogs() { } public static final int TF_ERRORS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private java.util.List tfErrors_; /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getTfErrorsList() { return tfErrors_; } /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTfErrorsOrBuilderList() { return tfErrors_; } /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTfErrorsCount() { return tfErrors_.size(); } /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { return tfErrors_.get(index); } /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index) { + public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index) { return tfErrors_.get(index); } public static final int ERROR_LOGS_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object errorLogs_ = ""; /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ @java.lang.Override @@ -1418,30 +1669,30 @@ public java.lang.String getErrorLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorLogs_ = s; return s; } } /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorLogsBytes() { + public com.google.protobuf.ByteString getErrorLogsBytes() { java.lang.Object ref = errorLogs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorLogs_ = b; return b; } else { @@ -1450,9 +1701,12 @@ public java.lang.String getErrorLogs() { } public static final int ARTIFACTS_GCS_BUCKET_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object artifactsGcsBucket_ = ""; /** + * + * *
    * Optional. User-defined location of Cloud Build logs and artifacts in Google
    * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -1465,7 +1719,9 @@ public java.lang.String getErrorLogs() {
    * - The field cannot be updated, including changing its presence
    * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the artifactsGcsBucket field is set. */ @java.lang.Override @@ -1473,6 +1729,8 @@ public boolean hasArtifactsGcsBucket() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Optional. User-defined location of Cloud Build logs and artifacts in Google
    * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -1485,7 +1743,9 @@ public boolean hasArtifactsGcsBucket() {
    * - The field cannot be updated, including changing its presence
    * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The artifactsGcsBucket. */ @java.lang.Override @@ -1494,15 +1754,16 @@ public java.lang.String getArtifactsGcsBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactsGcsBucket_ = s; return s; } } /** - *
+   *
+   *
+   * 
    * Optional. User-defined location of Cloud Build logs and artifacts in Google
    * Cloud Storage. Format: `gs://{bucket}/{folder}`
    *
@@ -1514,17 +1775,17 @@ public java.lang.String getArtifactsGcsBucket() {
    * - The field cannot be updated, including changing its presence
    * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for artifactsGcsBucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactsGcsBucketBytes() { + public com.google.protobuf.ByteString getArtifactsGcsBucketBytes() { java.lang.Object ref = artifactsGcsBucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactsGcsBucket_ = b; return b; } else { @@ -1533,16 +1794,22 @@ public java.lang.String getArtifactsGcsBucket() { } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * actuating resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the serviceAccount field is set. */ @java.lang.Override @@ -1550,13 +1817,18 @@ public boolean hasServiceAccount() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * actuating resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ @java.lang.Override @@ -1565,31 +1837,33 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * actuating resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1600,6 +1874,8 @@ public java.lang.String getServiceAccount() { public static final int IMPORT_EXISTING_RESOURCES_FIELD_NUMBER = 17; private boolean importExistingResources_ = false; /** + * + * *
    * By default, Infra Manager will return a failure when
    * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -1611,6 +1887,7 @@ public java.lang.String getServiceAccount() {
    * 
* * optional bool import_existing_resources = 17; + * * @return Whether the importExistingResources field is set. */ @java.lang.Override @@ -1618,6 +1895,8 @@ public boolean hasImportExistingResources() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
    * By default, Infra Manager will return a failure when
    * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -1629,6 +1908,7 @@ public boolean hasImportExistingResources() {
    * 
* * optional bool import_existing_resources = 17; + * * @return The importExistingResources. */ @java.lang.Override @@ -1637,9 +1917,12 @@ public boolean getImportExistingResources() { } public static final int WORKER_POOL_FIELD_NUMBER = 19; + @SuppressWarnings("serial") private volatile java.lang.Object workerPool_ = ""; /** + * + * *
    * Optional. The user-specified Cloud Build worker pool resource in which the
    * Cloud Build job will execute. Format:
@@ -1648,7 +1931,10 @@ public boolean getImportExistingResources() {
    * used.
    * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workerPool field is set. */ @java.lang.Override @@ -1656,6 +1942,8 @@ public boolean hasWorkerPool() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
    * Optional. The user-specified Cloud Build worker pool resource in which the
    * Cloud Build job will execute. Format:
@@ -1664,7 +1952,10 @@ public boolean hasWorkerPool() {
    * used.
    * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ @java.lang.Override @@ -1673,14 +1964,15 @@ public java.lang.String getWorkerPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerPool_ = s; return s; } } /** + * + * *
    * Optional. The user-specified Cloud Build worker pool resource in which the
    * Cloud Build job will execute. Format:
@@ -1689,17 +1981,18 @@ public java.lang.String getWorkerPool() {
    * used.
    * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workerPool_ = b; return b; } else { @@ -1710,39 +2003,57 @@ public java.lang.String getWorkerPool() { public static final int LOCK_STATE_FIELD_NUMBER = 20; private int lockState_ = 0; /** + * + * *
    * Output only. Current lock state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for lockState. */ - @java.lang.Override public int getLockStateValue() { + @java.lang.Override + public int getLockStateValue() { return lockState_; } /** + * + * *
    * Output only. Current lock state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lockState. */ - @java.lang.Override public com.google.cloud.config.v1.Deployment.LockState getLockState() { - com.google.cloud.config.v1.Deployment.LockState result = com.google.cloud.config.v1.Deployment.LockState.forNumber(lockState_); + @java.lang.Override + public com.google.cloud.config.v1.Deployment.LockState getLockState() { + com.google.cloud.config.v1.Deployment.LockState result = + com.google.cloud.config.v1.Deployment.LockState.forNumber(lockState_); return result == null ? com.google.cloud.config.v1.Deployment.LockState.UNRECOGNIZED : result; } public static final int TF_VERSION_CONSTRAINT_FIELD_NUMBER = 21; + @SuppressWarnings("serial") private volatile java.lang.Object tfVersionConstraint_ = ""; /** + * + * *
    * Optional. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tfVersionConstraint field is set. */ @java.lang.Override @@ -1750,12 +2061,16 @@ public boolean hasTfVersionConstraint() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
    * Optional. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tfVersionConstraint. */ @java.lang.Override @@ -1764,30 +2079,31 @@ public java.lang.String getTfVersionConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersionConstraint_ = s; return s; } } /** + * + * *
    * Optional. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for tfVersionConstraint. */ @java.lang.Override - public com.google.protobuf.ByteString - getTfVersionConstraintBytes() { + public com.google.protobuf.ByteString getTfVersionConstraintBytes() { java.lang.Object ref = tfVersionConstraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersionConstraint_ = b; return b; } else { @@ -1796,15 +2112,19 @@ public java.lang.String getTfVersionConstraint() { } public static final int TF_VERSION_FIELD_NUMBER = 22; + @SuppressWarnings("serial") private volatile java.lang.Object tfVersion_ = ""; /** + * + * *
    * Output only. The current Terraform version set on the deployment.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersion. */ @java.lang.Override @@ -1813,30 +2133,30 @@ public java.lang.String getTfVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersion_ = s; return s; } } /** + * + * *
    * Output only. The current Terraform version set on the deployment.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getTfVersionBytes() { + public com.google.protobuf.ByteString getTfVersionBytes() { java.lang.Object ref = tfVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersion_ = b; return b; } else { @@ -1847,34 +2167,48 @@ public java.lang.String getTfVersion() { public static final int QUOTA_VALIDATION_FIELD_NUMBER = 23; private int quotaValidation_ = 0; /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for quotaValidation. */ - @java.lang.Override public int getQuotaValidationValue() { + @java.lang.Override + public int getQuotaValidationValue() { return quotaValidation_; } /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The quotaValidation. */ - @java.lang.Override public com.google.cloud.config.v1.QuotaValidation getQuotaValidation() { - com.google.cloud.config.v1.QuotaValidation result = com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); + @java.lang.Override + public com.google.cloud.config.v1.QuotaValidation getQuotaValidation() { + com.google.cloud.config.v1.QuotaValidation result = + com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); return result == null ? com.google.cloud.config.v1.QuotaValidation.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1886,8 +2220,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_); } @@ -1897,12 +2230,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (state_ != com.google.cloud.config.v1.Deployment.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } @@ -1918,7 +2247,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDetail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, stateDetail_); } - if (errorCode_ != com.google.cloud.config.v1.Deployment.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + if (errorCode_ + != com.google.cloud.config.v1.Deployment.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(10, errorCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deleteBuild_)) { @@ -1945,7 +2275,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, workerPool_); } - if (lockState_ != com.google.cloud.config.v1.Deployment.LockState.LOCK_STATE_UNSPECIFIED.getNumber()) { + if (lockState_ + != com.google.cloud.config.v1.Deployment.LockState.LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(20, lockState_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -1954,7 +2285,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tfVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, tfVersion_); } - if (quotaValidation_ != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { + if (quotaValidation_ + != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { output.writeEnum(23, quotaValidation_); } getUnknownFields().writeTo(output); @@ -1970,44 +2302,41 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (state_ != com.google.cloud.config.v1.Deployment.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (blueprintCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.config.v1.TerraformBlueprint) blueprint_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.config.v1.TerraformBlueprint) blueprint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestRevision_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, latestRevision_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getDeleteResults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDeleteResults()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDetail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, stateDetail_); } - if (errorCode_ != com.google.cloud.config.v1.Deployment.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, errorCode_); + if (errorCode_ + != com.google.cloud.config.v1.Deployment.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, errorCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deleteBuild_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, deleteBuild_); @@ -2016,8 +2345,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, deleteLogs_); } for (int i = 0; i < tfErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, tfErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, tfErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorLogs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, errorLogs_); @@ -2029,15 +2357,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, serviceAccount_); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(17, importExistingResources_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, importExistingResources_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, workerPool_); } - if (lockState_ != com.google.cloud.config.v1.Deployment.LockState.LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, lockState_); + if (lockState_ + != com.google.cloud.config.v1.Deployment.LockState.LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, lockState_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, tfVersionConstraint_); @@ -2045,9 +2372,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tfVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, tfVersion_); } - if (quotaValidation_ != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(23, quotaValidation_); + if (quotaValidation_ + != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(23, quotaValidation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2057,80 +2384,62 @@ 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.config.v1.Deployment)) { return super.equals(obj); } com.google.cloud.config.v1.Deployment other = (com.google.cloud.config.v1.Deployment) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; - if (!getLatestRevision() - .equals(other.getLatestRevision())) return false; - if (!getStateDetail() - .equals(other.getStateDetail())) return false; + if (!getLatestRevision().equals(other.getLatestRevision())) return false; + if (!getStateDetail().equals(other.getStateDetail())) return false; if (errorCode_ != other.errorCode_) return false; if (hasDeleteResults() != other.hasDeleteResults()) return false; if (hasDeleteResults()) { - if (!getDeleteResults() - .equals(other.getDeleteResults())) return false; - } - if (!getDeleteBuild() - .equals(other.getDeleteBuild())) return false; - if (!getDeleteLogs() - .equals(other.getDeleteLogs())) return false; - if (!getTfErrorsList() - .equals(other.getTfErrorsList())) return false; - if (!getErrorLogs() - .equals(other.getErrorLogs())) return false; + if (!getDeleteResults().equals(other.getDeleteResults())) return false; + } + if (!getDeleteBuild().equals(other.getDeleteBuild())) return false; + if (!getDeleteLogs().equals(other.getDeleteLogs())) return false; + if (!getTfErrorsList().equals(other.getTfErrorsList())) return false; + if (!getErrorLogs().equals(other.getErrorLogs())) return false; if (hasArtifactsGcsBucket() != other.hasArtifactsGcsBucket()) return false; if (hasArtifactsGcsBucket()) { - if (!getArtifactsGcsBucket() - .equals(other.getArtifactsGcsBucket())) return false; + if (!getArtifactsGcsBucket().equals(other.getArtifactsGcsBucket())) return false; } if (hasServiceAccount() != other.hasServiceAccount()) return false; if (hasServiceAccount()) { - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; } if (hasImportExistingResources() != other.hasImportExistingResources()) return false; if (hasImportExistingResources()) { - if (getImportExistingResources() - != other.getImportExistingResources()) return false; + if (getImportExistingResources() != other.getImportExistingResources()) return false; } if (hasWorkerPool() != other.hasWorkerPool()) return false; if (hasWorkerPool()) { - if (!getWorkerPool() - .equals(other.getWorkerPool())) return false; + if (!getWorkerPool().equals(other.getWorkerPool())) return false; } if (lockState_ != other.lockState_) return false; if (hasTfVersionConstraint() != other.hasTfVersionConstraint()) return false; if (hasTfVersionConstraint()) { - if (!getTfVersionConstraint() - .equals(other.getTfVersionConstraint())) return false; + if (!getTfVersionConstraint().equals(other.getTfVersionConstraint())) return false; } - if (!getTfVersion() - .equals(other.getTfVersion())) return false; + if (!getTfVersion().equals(other.getTfVersion())) return false; if (quotaValidation_ != other.quotaValidation_) return false; if (!getBlueprintCase().equals(other.getBlueprintCase())) return false; switch (blueprintCase_) { case 6: - if (!getTerraformBlueprint() - .equals(other.getTerraformBlueprint())) return false; + if (!getTerraformBlueprint().equals(other.getTerraformBlueprint())) return false; break; case 0: default: @@ -2192,8 +2501,7 @@ public int hashCode() { } if (hasImportExistingResources()) { hash = (37 * hash) + IMPORT_EXISTING_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getImportExistingResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImportExistingResources()); } if (hasWorkerPool()) { hash = (37 * hash) + WORKER_POOL_FIELD_NUMBER; @@ -2222,99 +2530,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.Deployment parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.Deployment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Deployment 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.config.v1.Deployment parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.Deployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Deployment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Deployment 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.config.v1.Deployment 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.config.v1.Deployment 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.config.v1.Deployment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.Deployment 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.config.v1.Deployment 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.config.v1.Deployment 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.config.v1.Deployment 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; } /** + * + * *
    * A Deployment is a group of resources and configs managed and provisioned by
    * Infra Manager.
@@ -2322,13 +2634,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.Deployment}
    */
-  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.config.v1.Deployment)
       com.google.cloud.config.v1.DeploymentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Deployment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Deployment_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -2338,10 +2650,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -2349,16 +2661,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 4:
           return internalGetMutableLabels();
         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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.Deployment.class, com.google.cloud.config.v1.Deployment.Builder.class);
+              com.google.cloud.config.v1.Deployment.class,
+              com.google.cloud.config.v1.Deployment.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.Deployment.newBuilder()
@@ -2366,20 +2680,20 @@ 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) {
         getCreateTimeFieldBuilder();
         getUpdateTimeFieldBuilder();
         getDeleteResultsFieldBuilder();
         getTfErrorsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2432,9 +2746,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Deployment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Deployment_descriptor;
     }
 
     @java.lang.Override
@@ -2453,9 +2767,12 @@ public com.google.cloud.config.v1.Deployment build() {
 
     @java.lang.Override
     public com.google.cloud.config.v1.Deployment buildPartial() {
-      com.google.cloud.config.v1.Deployment result = new com.google.cloud.config.v1.Deployment(this);
+      com.google.cloud.config.v1.Deployment result =
+          new com.google.cloud.config.v1.Deployment(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2480,15 +2797,11 @@ private void buildPartial0(com.google.cloud.config.v1.Deployment result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
@@ -2508,9 +2821,8 @@ private void buildPartial0(com.google.cloud.config.v1.Deployment result) {
         result.errorCode_ = errorCode_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.deleteResults_ = deleteResultsBuilder_ == null
-            ? deleteResults_
-            : deleteResultsBuilder_.build();
+        result.deleteResults_ =
+            deleteResultsBuilder_ == null ? deleteResults_ : deleteResultsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
@@ -2557,8 +2869,7 @@ private void buildPartial0(com.google.cloud.config.v1.Deployment result) {
     private void buildPartialOneofs(com.google.cloud.config.v1.Deployment result) {
       result.blueprintCase_ = blueprintCase_;
       result.blueprint_ = this.blueprint_;
-      if (blueprintCase_ == 6 &&
-          terraformBlueprintBuilder_ != null) {
+      if (blueprintCase_ == 6 && terraformBlueprintBuilder_ != null) {
         result.blueprint_ = terraformBlueprintBuilder_.build();
       }
     }
@@ -2567,38 +2878,39 @@ private void buildPartialOneofs(com.google.cloud.config.v1.Deployment result) {
     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.config.v1.Deployment) {
-        return mergeFrom((com.google.cloud.config.v1.Deployment)other);
+        return mergeFrom((com.google.cloud.config.v1.Deployment) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2618,8 +2930,7 @@ public Builder mergeFrom(com.google.cloud.config.v1.Deployment other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -2668,9 +2979,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.Deployment other) {
             tfErrorsBuilder_ = null;
             tfErrors_ = other.tfErrors_;
             bitField0_ = (bitField0_ & ~0x00001000);
-            tfErrorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTfErrorsFieldBuilder() : null;
+            tfErrorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTfErrorsFieldBuilder()
+                    : null;
           } else {
             tfErrorsBuilder_.addAllMessages(other.tfErrors_);
           }
@@ -2716,13 +3028,15 @@ public Builder mergeFrom(com.google.cloud.config.v1.Deployment other) {
         setQuotaValidationValue(other.getQuotaValidationValue());
       }
       switch (other.getBlueprintCase()) {
-        case TERRAFORM_BLUEPRINT: {
-          mergeTerraformBlueprint(other.getTerraformBlueprint());
-          break;
-        }
-        case BLUEPRINT_NOT_SET: {
-          break;
-        }
+        case TERRAFORM_BLUEPRINT:
+          {
+            mergeTerraformBlueprint(other.getTerraformBlueprint());
+            break;
+          }
+        case BLUEPRINT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2750,142 +3064,159 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 34
-            case 40: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getTerraformBlueprintFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              blueprintCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              latestRevision_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getDeleteResultsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 66
-            case 74: {
-              stateDetail_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 74
-            case 80: {
-              errorCode_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 80
-            case 90: {
-              deleteBuild_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            case 98: {
-              deleteLogs_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 98
-            case 106: {
-              com.google.cloud.config.v1.TerraformError m =
-                  input.readMessage(
-                      com.google.cloud.config.v1.TerraformError.parser(),
-                      extensionRegistry);
-              if (tfErrorsBuilder_ == null) {
-                ensureTfErrorsIsMutable();
-                tfErrors_.add(m);
-              } else {
-                tfErrorsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 106
-            case 114: {
-              errorLogs_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 114
-            case 122: {
-              artifactsGcsBucket_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 122
-            case 130: {
-              serviceAccount_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 130
-            case 136: {
-              importExistingResources_ = input.readBool();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 136
-            case 154: {
-              workerPool_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 154
-            case 160: {
-              lockState_ = input.readEnum();
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 160
-            case 170: {
-              tfVersionConstraint_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 170
-            case 178: {
-              tfVersion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 178
-            case 184: {
-              quotaValidation_ = input.readEnum();
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 184
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 34
+            case 40:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(
+                    getTerraformBlueprintFieldBuilder().getBuilder(), extensionRegistry);
+                blueprintCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                latestRevision_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getDeleteResultsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 66
+            case 74:
+              {
+                stateDetail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+            case 80:
+              {
+                errorCode_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 80
+            case 90:
+              {
+                deleteBuild_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            case 98:
+              {
+                deleteLogs_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.cloud.config.v1.TerraformError m =
+                    input.readMessage(
+                        com.google.cloud.config.v1.TerraformError.parser(), extensionRegistry);
+                if (tfErrorsBuilder_ == null) {
+                  ensureTfErrorsIsMutable();
+                  tfErrors_.add(m);
+                } else {
+                  tfErrorsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 106
+            case 114:
+              {
+                errorLogs_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 114
+            case 122:
+              {
+                artifactsGcsBucket_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 122
+            case 130:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 130
+            case 136:
+              {
+                importExistingResources_ = input.readBool();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 136
+            case 154:
+              {
+                workerPool_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 154
+            case 160:
+              {
+                lockState_ = input.readEnum();
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 160
+            case 170:
+              {
+                tfVersionConstraint_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 170
+            case 178:
+              {
+                tfVersion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 178
+            case 184:
+              {
+                quotaValidation_ = input.readEnum();
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 184
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2895,12 +3226,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int blueprintCase_ = 0;
     private java.lang.Object blueprint_;
-    public BlueprintCase
-        getBlueprintCase() {
-      return BlueprintCase.forNumber(
-          blueprintCase_);
+
+    public BlueprintCase getBlueprintCase() {
+      return BlueprintCase.forNumber(blueprintCase_);
     }
 
     public Builder clearBlueprint() {
@@ -2913,14 +3244,20 @@ public Builder clearBlueprint() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder> terraformBlueprintBuilder_;
+            com.google.cloud.config.v1.TerraformBlueprint,
+            com.google.cloud.config.v1.TerraformBlueprint.Builder,
+            com.google.cloud.config.v1.TerraformBlueprintOrBuilder>
+        terraformBlueprintBuilder_;
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
      * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return Whether the terraformBlueprint field is set. */ @java.lang.Override @@ -2928,12 +3265,15 @@ public boolean hasTerraformBlueprint() { return blueprintCase_ == 6; } /** + * + * *
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
      * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return The terraformBlueprint. */ @java.lang.Override @@ -2951,6 +3291,8 @@ public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { } } /** + * + * *
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -2972,6 +3314,8 @@ public Builder setTerraformBlueprint(com.google.cloud.config.v1.TerraformBluepri
       return this;
     }
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -2991,6 +3335,8 @@ public Builder setTerraformBlueprint(
       return this;
     }
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -3000,10 +3346,13 @@ public Builder setTerraformBlueprint(
      */
     public Builder mergeTerraformBlueprint(com.google.cloud.config.v1.TerraformBlueprint value) {
       if (terraformBlueprintBuilder_ == null) {
-        if (blueprintCase_ == 6 &&
-            blueprint_ != com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) {
-          blueprint_ = com.google.cloud.config.v1.TerraformBlueprint.newBuilder((com.google.cloud.config.v1.TerraformBlueprint) blueprint_)
-              .mergeFrom(value).buildPartial();
+        if (blueprintCase_ == 6
+            && blueprint_ != com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) {
+          blueprint_ =
+              com.google.cloud.config.v1.TerraformBlueprint.newBuilder(
+                      (com.google.cloud.config.v1.TerraformBlueprint) blueprint_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           blueprint_ = value;
         }
@@ -3019,6 +3368,8 @@ public Builder mergeTerraformBlueprint(com.google.cloud.config.v1.TerraformBluep
       return this;
     }
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -3043,6 +3394,8 @@ public Builder clearTerraformBlueprint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -3054,6 +3407,8 @@ public com.google.cloud.config.v1.TerraformBlueprint.Builder getTerraformBluepri
       return getTerraformBlueprintFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -3073,6 +3428,8 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
       }
     }
     /**
+     *
+     *
      * 
      * A blueprint described using Terraform's HashiCorp Configuration Language
      * as a root module.
@@ -3081,14 +3438,19 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
      * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder> 
+            com.google.cloud.config.v1.TerraformBlueprint,
+            com.google.cloud.config.v1.TerraformBlueprint.Builder,
+            com.google.cloud.config.v1.TerraformBlueprintOrBuilder>
         getTerraformBlueprintFieldBuilder() {
       if (terraformBlueprintBuilder_ == null) {
         if (!(blueprintCase_ == 6)) {
           blueprint_ = com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance();
         }
-        terraformBlueprintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder>(
+        terraformBlueprintBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.config.v1.TerraformBlueprint,
+                com.google.cloud.config.v1.TerraformBlueprint.Builder,
+                com.google.cloud.config.v1.TerraformBlueprintOrBuilder>(
                 (com.google.cloud.config.v1.TerraformBlueprint) blueprint_,
                 getParentForChildren(),
                 isClean());
@@ -3101,19 +3463,21 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name of the deployment.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* * string name = 1; + * * @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; @@ -3122,21 +3486,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of the deployment.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* * string name = 1; + * * @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 { @@ -3144,30 +3509,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of the deployment.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Resource name of the deployment.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3177,18 +3549,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Resource name of the deployment.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* * string name = 1; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -3198,39 +3574,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3246,14 +3641,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3264,17 +3662,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3289,11 +3691,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3306,11 +3712,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -3318,36 +3728,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time when the deployment was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3355,39 +3777,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3403,14 +3844,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3421,17 +3865,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3446,11 +3894,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3463,11 +3915,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3475,56 +3931,66 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Time when the deployment was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3533,10 +3999,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * User-defined metadata for the deployment.
      * 
@@ -3544,20 +4013,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * User-defined metadata for the deployment.
      * 
@@ -3569,6 +4039,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * User-defined metadata for the deployment.
      * 
@@ -3576,17 +4048,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * User-defined metadata for the deployment.
      * 
@@ -3594,95 +4068,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * User-defined metadata for the deployment.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000010; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * User-defined metadata for the deployment.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * User-defined metadata for the deployment.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private int state_ = 0; /** + * + * *
      * Output only. Current state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.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. Current state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3693,24 +4180,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.config.v1.Deployment.State getState() { - com.google.cloud.config.v1.Deployment.State result = com.google.cloud.config.v1.Deployment.State.forNumber(state_); + com.google.cloud.config.v1.Deployment.State result = + com.google.cloud.config.v1.Deployment.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Deployment.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3724,11 +4222,16 @@ public Builder setState(com.google.cloud.config.v1.Deployment.State value) { return this; } /** + * + * *
      * Output only. Current state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3740,6 +4243,8 @@ public Builder clearState() { private java.lang.Object latestRevision_ = ""; /** + * + * *
      * Output only. Revision name that was most recently applied.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -3747,13 +4252,13 @@ public Builder clearState() {
      * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The latestRevision. */ public java.lang.String getLatestRevision() { java.lang.Object ref = latestRevision_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); latestRevision_ = s; return s; @@ -3762,6 +4267,8 @@ public java.lang.String getLatestRevision() { } } /** + * + * *
      * Output only. Revision name that was most recently applied.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -3769,15 +4276,14 @@ public java.lang.String getLatestRevision() {
      * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for latestRevision. */ - public com.google.protobuf.ByteString - getLatestRevisionBytes() { + public com.google.protobuf.ByteString getLatestRevisionBytes() { java.lang.Object ref = latestRevision_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); latestRevision_ = b; return b; } else { @@ -3785,6 +4291,8 @@ public java.lang.String getLatestRevision() { } } /** + * + * *
      * Output only. Revision name that was most recently applied.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -3792,18 +4300,22 @@ public java.lang.String getLatestRevision() {
      * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The latestRevision to set. * @return This builder for chaining. */ - public Builder setLatestRevision( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLatestRevision(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } latestRevision_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. Revision name that was most recently applied.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -3811,6 +4323,7 @@ public Builder setLatestRevision(
      * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLatestRevision() { @@ -3820,6 +4333,8 @@ public Builder clearLatestRevision() { return this; } /** + * + * *
      * Output only. Revision name that was most recently applied.
      * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -3827,12 +4342,14 @@ public Builder clearLatestRevision() {
      * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for latestRevision to set. * @return This builder for chaining. */ - public Builder setLatestRevisionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLatestRevisionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); latestRevision_ = value; bitField0_ |= 0x00000040; @@ -3842,18 +4359,20 @@ public Builder setLatestRevisionBytes( private java.lang.Object stateDetail_ = ""; /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDetail. */ public java.lang.String getStateDetail() { java.lang.Object ref = stateDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDetail_ = s; return s; @@ -3862,20 +4381,21 @@ public java.lang.String getStateDetail() { } } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDetail. */ - public com.google.protobuf.ByteString - getStateDetailBytes() { + public com.google.protobuf.ByteString getStateDetailBytes() { java.lang.Object ref = stateDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDetail_ = b; return b; } else { @@ -3883,28 +4403,35 @@ public java.lang.String getStateDetail() { } } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateDetail to set. * @return This builder for chaining. */ - public Builder setStateDetail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } stateDetail_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateDetail() { @@ -3914,17 +4441,21 @@ public Builder clearStateDetail() { return this; } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateDetail to set. * @return This builder for chaining. */ - public Builder setStateDetailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); stateDetail_ = value; bitField0_ |= 0x00000080; @@ -3934,22 +4465,33 @@ public Builder setStateDetailBytes( private int errorCode_ = 0; /** + * + * *
      * Output only. Error code describing errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
      * Output only. Error code describing errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for errorCode to set. * @return This builder for chaining. */ @@ -3960,24 +4502,35 @@ public Builder setErrorCodeValue(int value) { return this; } /** + * + * *
      * Output only. Error code describing errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ @java.lang.Override public com.google.cloud.config.v1.Deployment.ErrorCode getErrorCode() { - com.google.cloud.config.v1.Deployment.ErrorCode result = com.google.cloud.config.v1.Deployment.ErrorCode.forNumber(errorCode_); + com.google.cloud.config.v1.Deployment.ErrorCode result = + com.google.cloud.config.v1.Deployment.ErrorCode.forNumber(errorCode_); return result == null ? com.google.cloud.config.v1.Deployment.ErrorCode.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Error code describing errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The errorCode to set. * @return This builder for chaining. */ @@ -3991,11 +4544,16 @@ public Builder setErrorCode(com.google.cloud.config.v1.Deployment.ErrorCode valu return this; } /** + * + * *
      * Output only. Error code describing errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearErrorCode() { @@ -4007,39 +4565,58 @@ public Builder clearErrorCode() { private com.google.cloud.config.v1.ApplyResults deleteResults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder> deleteResultsBuilder_; + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder> + deleteResultsBuilder_; /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteResults field is set. */ public boolean hasDeleteResults() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteResults. */ public com.google.cloud.config.v1.ApplyResults getDeleteResults() { if (deleteResultsBuilder_ == null) { - return deleteResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : deleteResults_; + return deleteResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : deleteResults_; } else { return deleteResultsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteResults(com.google.cloud.config.v1.ApplyResults value) { if (deleteResultsBuilder_ == null) { @@ -4055,11 +4632,15 @@ public Builder setDeleteResults(com.google.cloud.config.v1.ApplyResults value) { return this; } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteResults( com.google.cloud.config.v1.ApplyResults.Builder builderForValue) { @@ -4073,17 +4654,21 @@ public Builder setDeleteResults( return this; } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteResults(com.google.cloud.config.v1.ApplyResults value) { if (deleteResultsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - deleteResults_ != null && - deleteResults_ != com.google.cloud.config.v1.ApplyResults.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && deleteResults_ != null + && deleteResults_ != com.google.cloud.config.v1.ApplyResults.getDefaultInstance()) { getDeleteResultsBuilder().mergeFrom(value); } else { deleteResults_ = value; @@ -4098,11 +4683,15 @@ public Builder mergeDeleteResults(com.google.cloud.config.v1.ApplyResults value) return this; } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteResults() { bitField0_ = (bitField0_ & ~0x00000200); @@ -4115,11 +4704,15 @@ public Builder clearDeleteResults() { return this; } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ApplyResults.Builder getDeleteResultsBuilder() { bitField0_ |= 0x00000200; @@ -4127,36 +4720,48 @@ public com.google.cloud.config.v1.ApplyResults.Builder getDeleteResultsBuilder() return getDeleteResultsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ApplyResultsOrBuilder getDeleteResultsOrBuilder() { if (deleteResultsBuilder_ != null) { return deleteResultsBuilder_.getMessageOrBuilder(); } else { - return deleteResults_ == null ? - com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : deleteResults_; + return deleteResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : deleteResults_; } } /** + * + * *
      * Output only. Location of artifacts from a DeleteDeployment operation.
      * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder> + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder> getDeleteResultsFieldBuilder() { if (deleteResultsBuilder_ == null) { - deleteResultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder>( - getDeleteResults(), - getParentForChildren(), - isClean()); + deleteResultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder>( + getDeleteResults(), getParentForChildren(), isClean()); deleteResults_ = null; } return deleteResultsBuilder_; @@ -4164,19 +4769,21 @@ public com.google.cloud.config.v1.ApplyResultsOrBuilder getDeleteResultsOrBuilde private java.lang.Object deleteBuild_ = ""; /** + * + * *
      * Output only. Cloud Build instance UUID associated with deleting this
      * deployment.
      * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleteBuild. */ public java.lang.String getDeleteBuild() { java.lang.Object ref = deleteBuild_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deleteBuild_ = s; return s; @@ -4185,21 +4792,22 @@ public java.lang.String getDeleteBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with deleting this
      * deployment.
      * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for deleteBuild. */ - public com.google.protobuf.ByteString - getDeleteBuildBytes() { + public com.google.protobuf.ByteString getDeleteBuildBytes() { java.lang.Object ref = deleteBuild_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deleteBuild_ = b; return b; } else { @@ -4207,30 +4815,37 @@ public java.lang.String getDeleteBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with deleting this
      * deployment.
      * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleteBuild to set. * @return This builder for chaining. */ - public Builder setDeleteBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeleteBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deleteBuild_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with deleting this
      * deployment.
      * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleteBuild() { @@ -4240,18 +4855,22 @@ public Builder clearDeleteBuild() { return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with deleting this
      * deployment.
      * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for deleteBuild to set. * @return This builder for chaining. */ - public Builder setDeleteBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeleteBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deleteBuild_ = value; bitField0_ |= 0x00000400; @@ -4261,19 +4880,21 @@ public Builder setDeleteBuildBytes( private java.lang.Object deleteLogs_ = ""; /** + * + * *
      * Output only. Location of Cloud Build logs in Google Cloud Storage,
      * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
      * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleteLogs. */ public java.lang.String getDeleteLogs() { java.lang.Object ref = deleteLogs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deleteLogs_ = s; return s; @@ -4282,21 +4903,22 @@ public java.lang.String getDeleteLogs() { } } /** + * + * *
      * Output only. Location of Cloud Build logs in Google Cloud Storage,
      * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
      * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for deleteLogs. */ - public com.google.protobuf.ByteString - getDeleteLogsBytes() { + public com.google.protobuf.ByteString getDeleteLogsBytes() { java.lang.Object ref = deleteLogs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deleteLogs_ = b; return b; } else { @@ -4304,30 +4926,37 @@ public java.lang.String getDeleteLogs() { } } /** + * + * *
      * Output only. Location of Cloud Build logs in Google Cloud Storage,
      * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
      * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleteLogs to set. * @return This builder for chaining. */ - public Builder setDeleteLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeleteLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deleteLogs_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Output only. Location of Cloud Build logs in Google Cloud Storage,
      * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
      * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleteLogs() { @@ -4337,18 +4966,22 @@ public Builder clearDeleteLogs() { return this; } /** + * + * *
      * Output only. Location of Cloud Build logs in Google Cloud Storage,
      * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
      * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for deleteLogs to set. * @return This builder for chaining. */ - public Builder setDeleteLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeleteLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deleteLogs_ = value; bitField0_ |= 0x00000800; @@ -4357,25 +4990,33 @@ public Builder setDeleteLogsBytes( } private java.util.List tfErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTfErrorsIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { tfErrors_ = new java.util.ArrayList(tfErrors_); bitField0_ |= 0x00001000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder> tfErrorsBuilder_; + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder> + tfErrorsBuilder_; /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getTfErrorsList() { if (tfErrorsBuilder_ == null) { @@ -4385,13 +5026,17 @@ public java.util.List getTfErrorsList } } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTfErrorsCount() { if (tfErrorsBuilder_ == null) { @@ -4401,13 +5046,17 @@ public int getTfErrorsCount() { } } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { if (tfErrorsBuilder_ == null) { @@ -4417,16 +5066,19 @@ public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { } } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTfErrors( - int index, com.google.cloud.config.v1.TerraformError value) { + public Builder setTfErrors(int index, com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4440,13 +5092,17 @@ public Builder setTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTfErrors( int index, com.google.cloud.config.v1.TerraformError.Builder builderForValue) { @@ -4460,13 +5116,17 @@ public Builder setTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTfErrors(com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { @@ -4482,16 +5142,19 @@ public Builder addTfErrors(com.google.cloud.config.v1.TerraformError value) { return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTfErrors( - int index, com.google.cloud.config.v1.TerraformError value) { + public Builder addTfErrors(int index, com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4505,16 +5168,19 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTfErrors( - com.google.cloud.config.v1.TerraformError.Builder builderForValue) { + public Builder addTfErrors(com.google.cloud.config.v1.TerraformError.Builder builderForValue) { if (tfErrorsBuilder_ == null) { ensureTfErrorsIsMutable(); tfErrors_.add(builderForValue.build()); @@ -4525,13 +5191,17 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTfErrors( int index, com.google.cloud.config.v1.TerraformError.Builder builderForValue) { @@ -4545,20 +5215,23 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTfErrors( java.lang.Iterable values) { if (tfErrorsBuilder_ == null) { ensureTfErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tfErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tfErrors_); onChanged(); } else { tfErrorsBuilder_.addAllMessages(values); @@ -4566,13 +5239,17 @@ public Builder addAllTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTfErrors() { if (tfErrorsBuilder_ == null) { @@ -4585,13 +5262,17 @@ public Builder clearTfErrors() { return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTfErrors(int index) { if (tfErrorsBuilder_ == null) { @@ -4604,45 +5285,56 @@ public Builder removeTfErrors(int index) { return this; } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformError.Builder getTfErrorsBuilder( - int index) { + public com.google.cloud.config.v1.TerraformError.Builder getTfErrorsBuilder(int index) { return getTfErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index) { + public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index) { if (tfErrorsBuilder_ == null) { - return tfErrors_.get(index); } else { + return tfErrors_.get(index); + } else { return tfErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTfErrorsOrBuilderList() { + public java.util.List + getTfErrorsOrBuilderList() { if (tfErrorsBuilder_ != null) { return tfErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -4650,55 +5342,69 @@ public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( } } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder() { - return getTfErrorsFieldBuilder().addBuilder( - com.google.cloud.config.v1.TerraformError.getDefaultInstance()); + return getTfErrorsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.TerraformError.getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder( - int index) { - return getTfErrorsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.TerraformError.getDefaultInstance()); + public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder(int index) { + return getTfErrorsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.TerraformError.getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered when deleting this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTfErrorsBuilderList() { + public java.util.List + getTfErrorsBuilderList() { return getTfErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder> + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder> getTfErrorsFieldBuilder() { if (tfErrorsBuilder_ == null) { - tfErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder>( - tfErrors_, - ((bitField0_ & 0x00001000) != 0), - getParentForChildren(), - isClean()); + tfErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder>( + tfErrors_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); tfErrors_ = null; } return tfErrorsBuilder_; @@ -4706,19 +5412,21 @@ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder( private java.lang.Object errorLogs_ = ""; /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ public java.lang.String getErrorLogs() { java.lang.Object ref = errorLogs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorLogs_ = s; return s; @@ -4727,21 +5435,22 @@ public java.lang.String getErrorLogs() { } } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ - public com.google.protobuf.ByteString - getErrorLogsBytes() { + public com.google.protobuf.ByteString getErrorLogsBytes() { java.lang.Object ref = errorLogs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorLogs_ = b; return b; } else { @@ -4749,30 +5458,37 @@ public java.lang.String getErrorLogs() { } } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The errorLogs to set. * @return This builder for chaining. */ - public Builder setErrorLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorLogs_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearErrorLogs() { @@ -4782,18 +5498,22 @@ public Builder clearErrorLogs() { return this; } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for errorLogs to set. * @return This builder for chaining. */ - public Builder setErrorLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorLogs_ = value; bitField0_ |= 0x00002000; @@ -4803,6 +5523,8 @@ public Builder setErrorLogsBytes( private java.lang.Object artifactsGcsBucket_ = ""; /** + * + * *
      * Optional. User-defined location of Cloud Build logs and artifacts in Google
      * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -4815,13 +5537,17 @@ public Builder setErrorLogsBytes(
      * - The field cannot be updated, including changing its presence
      * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the artifactsGcsBucket field is set. */ public boolean hasArtifactsGcsBucket() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Optional. User-defined location of Cloud Build logs and artifacts in Google
      * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -4834,14 +5560,15 @@ public boolean hasArtifactsGcsBucket() {
      * - The field cannot be updated, including changing its presence
      * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The artifactsGcsBucket. */ public java.lang.String getArtifactsGcsBucket() { java.lang.Object ref = artifactsGcsBucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactsGcsBucket_ = s; return s; @@ -4850,6 +5577,8 @@ public java.lang.String getArtifactsGcsBucket() { } } /** + * + * *
      * Optional. User-defined location of Cloud Build logs and artifacts in Google
      * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -4862,16 +5591,16 @@ public java.lang.String getArtifactsGcsBucket() {
      * - The field cannot be updated, including changing its presence
      * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for artifactsGcsBucket. */ - public com.google.protobuf.ByteString - getArtifactsGcsBucketBytes() { + public com.google.protobuf.ByteString getArtifactsGcsBucketBytes() { java.lang.Object ref = artifactsGcsBucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactsGcsBucket_ = b; return b; } else { @@ -4879,6 +5608,8 @@ public java.lang.String getArtifactsGcsBucket() { } } /** + * + * *
      * Optional. User-defined location of Cloud Build logs and artifacts in Google
      * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -4891,19 +5622,24 @@ public java.lang.String getArtifactsGcsBucket() {
      * - The field cannot be updated, including changing its presence
      * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The artifactsGcsBucket to set. * @return This builder for chaining. */ - public Builder setArtifactsGcsBucket( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactsGcsBucket(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactsGcsBucket_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Optional. User-defined location of Cloud Build logs and artifacts in Google
      * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -4916,7 +5652,9 @@ public Builder setArtifactsGcsBucket(
      * - The field cannot be updated, including changing its presence
      * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearArtifactsGcsBucket() { @@ -4926,6 +5664,8 @@ public Builder clearArtifactsGcsBucket() { return this; } /** + * + * *
      * Optional. User-defined location of Cloud Build logs and artifacts in Google
      * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -4938,13 +5678,16 @@ public Builder clearArtifactsGcsBucket() {
      * - The field cannot be updated, including changing its presence
      * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for artifactsGcsBucket to set. * @return This builder for chaining. */ - public Builder setArtifactsGcsBucketBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactsGcsBucketBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactsGcsBucket_ = value; bitField0_ |= 0x00004000; @@ -4954,33 +5697,42 @@ public Builder setArtifactsGcsBucketBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * actuating resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the serviceAccount field is set. */ public boolean hasServiceAccount() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * actuating resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -4989,22 +5741,25 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * actuating resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -5012,32 +5767,43 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * actuating resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * actuating resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -5047,19 +5813,25 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * actuating resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00008000; @@ -5067,8 +5839,10 @@ public Builder setServiceAccountBytes( return this; } - private boolean importExistingResources_ ; + private boolean importExistingResources_; /** + * + * *
      * By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -5080,6 +5854,7 @@ public Builder setServiceAccountBytes(
      * 
* * optional bool import_existing_resources = 17; + * * @return Whether the importExistingResources field is set. */ @java.lang.Override @@ -5087,6 +5862,8 @@ public boolean hasImportExistingResources() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -5098,6 +5875,7 @@ public boolean hasImportExistingResources() {
      * 
* * optional bool import_existing_resources = 17; + * * @return The importExistingResources. */ @java.lang.Override @@ -5105,6 +5883,8 @@ public boolean getImportExistingResources() { return importExistingResources_; } /** + * + * *
      * By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -5116,6 +5896,7 @@ public boolean getImportExistingResources() {
      * 
* * optional bool import_existing_resources = 17; + * * @param value The importExistingResources to set. * @return This builder for chaining. */ @@ -5127,6 +5908,8 @@ public Builder setImportExistingResources(boolean value) { return this; } /** + * + * *
      * By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -5138,6 +5921,7 @@ public Builder setImportExistingResources(boolean value) {
      * 
* * optional bool import_existing_resources = 17; + * * @return This builder for chaining. */ public Builder clearImportExistingResources() { @@ -5149,6 +5933,8 @@ public Builder clearImportExistingResources() { private java.lang.Object workerPool_ = ""; /** + * + * *
      * Optional. The user-specified Cloud Build worker pool resource in which the
      * Cloud Build job will execute. Format:
@@ -5157,13 +5943,18 @@ public Builder clearImportExistingResources() {
      * used.
      * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workerPool field is set. */ public boolean hasWorkerPool() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Optional. The user-specified Cloud Build worker pool resource in which the
      * Cloud Build job will execute. Format:
@@ -5172,14 +5963,16 @@ public boolean hasWorkerPool() {
      * used.
      * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ public java.lang.String getWorkerPool() { java.lang.Object ref = workerPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerPool_ = s; return s; @@ -5188,6 +5981,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Optional. The user-specified Cloud Build worker pool resource in which the
      * Cloud Build job will execute. Format:
@@ -5196,16 +5991,17 @@ public java.lang.String getWorkerPool() {
      * used.
      * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workerPool_ = b; return b; } else { @@ -5213,6 +6009,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Optional. The user-specified Cloud Build worker pool resource in which the
      * Cloud Build job will execute. Format:
@@ -5221,19 +6019,25 @@ public java.lang.String getWorkerPool() {
      * used.
      * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPool( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workerPool_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * *
      * Optional. The user-specified Cloud Build worker pool resource in which the
      * Cloud Build job will execute. Format:
@@ -5242,7 +6046,10 @@ public Builder setWorkerPool(
      * used.
      * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkerPool() { @@ -5252,6 +6059,8 @@ public Builder clearWorkerPool() { return this; } /** + * + * *
      * Optional. The user-specified Cloud Build worker pool resource in which the
      * Cloud Build job will execute. Format:
@@ -5260,13 +6069,17 @@ public Builder clearWorkerPool() {
      * used.
      * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPoolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workerPool_ = value; bitField0_ |= 0x00020000; @@ -5276,22 +6089,33 @@ public Builder setWorkerPoolBytes( private int lockState_ = 0; /** + * + * *
      * Output only. Current lock state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for lockState. */ - @java.lang.Override public int getLockStateValue() { + @java.lang.Override + public int getLockStateValue() { return lockState_; } /** + * + * *
      * Output only. Current lock state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for lockState to set. * @return This builder for chaining. */ @@ -5302,24 +6126,35 @@ public Builder setLockStateValue(int value) { return this; } /** + * + * *
      * Output only. Current lock state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lockState. */ @java.lang.Override public com.google.cloud.config.v1.Deployment.LockState getLockState() { - com.google.cloud.config.v1.Deployment.LockState result = com.google.cloud.config.v1.Deployment.LockState.forNumber(lockState_); + com.google.cloud.config.v1.Deployment.LockState result = + com.google.cloud.config.v1.Deployment.LockState.forNumber(lockState_); return result == null ? com.google.cloud.config.v1.Deployment.LockState.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current lock state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The lockState to set. * @return This builder for chaining. */ @@ -5333,11 +6168,16 @@ public Builder setLockState(com.google.cloud.config.v1.Deployment.LockState valu return this; } /** + * + * *
      * Output only. Current lock state of the deployment.
      * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearLockState() { @@ -5349,31 +6189,38 @@ public Builder clearLockState() { private java.lang.Object tfVersionConstraint_ = ""; /** + * + * *
      * Optional. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tfVersionConstraint field is set. */ public boolean hasTfVersionConstraint() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Optional. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tfVersionConstraint. */ public java.lang.String getTfVersionConstraint() { java.lang.Object ref = tfVersionConstraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersionConstraint_ = s; return s; @@ -5382,21 +6229,23 @@ public java.lang.String getTfVersionConstraint() { } } /** + * + * *
      * Optional. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for tfVersionConstraint. */ - public com.google.protobuf.ByteString - getTfVersionConstraintBytes() { + public com.google.protobuf.ByteString getTfVersionConstraintBytes() { java.lang.Object ref = tfVersionConstraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersionConstraint_ = b; return b; } else { @@ -5404,30 +6253,39 @@ public java.lang.String getTfVersionConstraint() { } } /** + * + * *
      * Optional. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The tfVersionConstraint to set. * @return This builder for chaining. */ - public Builder setTfVersionConstraint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersionConstraint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tfVersionConstraint_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** + * + * *
      * Optional. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearTfVersionConstraint() { @@ -5437,18 +6295,23 @@ public Builder clearTfVersionConstraint() { return this; } /** + * + * *
      * Optional. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for tfVersionConstraint to set. * @return This builder for chaining. */ - public Builder setTfVersionConstraintBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersionConstraintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tfVersionConstraint_ = value; bitField0_ |= 0x00080000; @@ -5458,19 +6321,21 @@ public Builder setTfVersionConstraintBytes( private java.lang.Object tfVersion_ = ""; /** + * + * *
      * Output only. The current Terraform version set on the deployment.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersion. */ public java.lang.String getTfVersion() { java.lang.Object ref = tfVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersion_ = s; return s; @@ -5479,21 +6344,22 @@ public java.lang.String getTfVersion() { } } /** + * + * *
      * Output only. The current Terraform version set on the deployment.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersion. */ - public com.google.protobuf.ByteString - getTfVersionBytes() { + public com.google.protobuf.ByteString getTfVersionBytes() { java.lang.Object ref = tfVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersion_ = b; return b; } else { @@ -5501,30 +6367,37 @@ public java.lang.String getTfVersion() { } } /** + * + * *
      * Output only. The current Terraform version set on the deployment.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tfVersion to set. * @return This builder for chaining. */ - public Builder setTfVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tfVersion_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** + * + * *
      * Output only. The current Terraform version set on the deployment.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTfVersion() { @@ -5534,18 +6407,22 @@ public Builder clearTfVersion() { return this; } /** + * + * *
      * Output only. The current Terraform version set on the deployment.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tfVersion to set. * @return This builder for chaining. */ - public Builder setTfVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tfVersion_ = value; bitField0_ |= 0x00100000; @@ -5555,26 +6432,37 @@ public Builder setTfVersionBytes( private int quotaValidation_ = 0; /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for quotaValidation. */ - @java.lang.Override public int getQuotaValidationValue() { + @java.lang.Override + public int getQuotaValidationValue() { return quotaValidation_; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for quotaValidation to set. * @return This builder for chaining. */ @@ -5585,28 +6473,39 @@ public Builder setQuotaValidationValue(int value) { return this; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The quotaValidation. */ @java.lang.Override public com.google.cloud.config.v1.QuotaValidation getQuotaValidation() { - com.google.cloud.config.v1.QuotaValidation result = com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); + com.google.cloud.config.v1.QuotaValidation result = + com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); return result == null ? com.google.cloud.config.v1.QuotaValidation.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The quotaValidation to set. * @return This builder for chaining. */ @@ -5620,13 +6519,18 @@ public Builder setQuotaValidation(com.google.cloud.config.v1.QuotaValidation val return this; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearQuotaValidation() { @@ -5635,9 +6539,9 @@ public Builder clearQuotaValidation() { 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); } @@ -5647,12 +6551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.Deployment) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.Deployment) private static final com.google.cloud.config.v1.Deployment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.Deployment(); } @@ -5661,27 +6565,27 @@ public static com.google.cloud.config.v1.Deployment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5696,6 +6600,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.Deployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentName.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentName.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentName.java diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java similarity index 71% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java index 61299674c0ee..08a20c787acf 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Ephemeral metadata content describing the state of a deployment operation.
  * 
* * Protobuf type {@code google.cloud.config.v1.DeploymentOperationMetadata} */ -public final class DeploymentOperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeploymentOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentOperationMetadata) DeploymentOperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeploymentOperationMetadata.newBuilder() to construct. private DeploymentOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeploymentOperationMetadata() { step_ = 0; build_ = ""; @@ -28,34 +46,38 @@ private DeploymentOperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeploymentOperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeploymentOperationMetadata.class, com.google.cloud.config.v1.DeploymentOperationMetadata.Builder.class); + com.google.cloud.config.v1.DeploymentOperationMetadata.class, + com.google.cloud.config.v1.DeploymentOperationMetadata.Builder.class); } /** + * + * *
    * The possible steps a deployment may be running.
    * 
* * Protobuf enum {@code google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep} */ - public enum DeploymentStep - implements com.google.protobuf.ProtocolMessageEnum { + public enum DeploymentStep implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified deployment step
      * 
@@ -64,6 +86,8 @@ public enum DeploymentStep */ DEPLOYMENT_STEP_UNSPECIFIED(0), /** + * + * *
      * Infra Manager is creating a Google Cloud Storage bucket to store
      * artifacts and metadata about the deployment and revision
@@ -73,6 +97,8 @@ public enum DeploymentStep
      */
     PREPARING_STORAGE_BUCKET(1),
     /**
+     *
+     *
      * 
      * Downloading the blueprint onto the Google Cloud Storage bucket
      * 
@@ -81,6 +107,8 @@ public enum DeploymentStep */ DOWNLOADING_BLUEPRINT(2), /** + * + * *
      * Initializing Terraform using `terraform init`
      * 
@@ -89,6 +117,8 @@ public enum DeploymentStep */ RUNNING_TF_INIT(3), /** + * + * *
      * Running `terraform plan`
      * 
@@ -97,6 +127,8 @@ public enum DeploymentStep */ RUNNING_TF_PLAN(4), /** + * + * *
      * Actuating resources using Terraform using `terraform apply`
      * 
@@ -105,6 +137,8 @@ public enum DeploymentStep */ RUNNING_TF_APPLY(5), /** + * + * *
      * Destroying resources using Terraform using `terraform destroy`
      * 
@@ -113,6 +147,8 @@ public enum DeploymentStep */ RUNNING_TF_DESTROY(6), /** + * + * *
      * Validating the uploaded TF state file when unlocking a deployment
      * 
@@ -121,6 +157,8 @@ public enum DeploymentStep */ RUNNING_TF_VALIDATE(7), /** + * + * *
      * Unlocking a deployment
      * 
@@ -129,6 +167,8 @@ public enum DeploymentStep */ UNLOCKING_DEPLOYMENT(8), /** + * + * *
      * Operation was successful
      * 
@@ -137,6 +177,8 @@ public enum DeploymentStep */ SUCCEEDED(9), /** + * + * *
      * Operation failed
      * 
@@ -145,6 +187,8 @@ public enum DeploymentStep */ FAILED(10), /** + * + * *
      * Validating the provided repository.
      * 
@@ -153,6 +197,8 @@ public enum DeploymentStep */ VALIDATING_REPOSITORY(11), /** + * + * *
      * Running quota validation
      * 
@@ -164,6 +210,8 @@ public enum DeploymentStep ; /** + * + * *
      * Unspecified deployment step
      * 
@@ -172,6 +220,8 @@ public enum DeploymentStep */ public static final int DEPLOYMENT_STEP_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Infra Manager is creating a Google Cloud Storage bucket to store
      * artifacts and metadata about the deployment and revision
@@ -181,6 +231,8 @@ public enum DeploymentStep
      */
     public static final int PREPARING_STORAGE_BUCKET_VALUE = 1;
     /**
+     *
+     *
      * 
      * Downloading the blueprint onto the Google Cloud Storage bucket
      * 
@@ -189,6 +241,8 @@ public enum DeploymentStep */ public static final int DOWNLOADING_BLUEPRINT_VALUE = 2; /** + * + * *
      * Initializing Terraform using `terraform init`
      * 
@@ -197,6 +251,8 @@ public enum DeploymentStep */ public static final int RUNNING_TF_INIT_VALUE = 3; /** + * + * *
      * Running `terraform plan`
      * 
@@ -205,6 +261,8 @@ public enum DeploymentStep */ public static final int RUNNING_TF_PLAN_VALUE = 4; /** + * + * *
      * Actuating resources using Terraform using `terraform apply`
      * 
@@ -213,6 +271,8 @@ public enum DeploymentStep */ public static final int RUNNING_TF_APPLY_VALUE = 5; /** + * + * *
      * Destroying resources using Terraform using `terraform destroy`
      * 
@@ -221,6 +281,8 @@ public enum DeploymentStep */ public static final int RUNNING_TF_DESTROY_VALUE = 6; /** + * + * *
      * Validating the uploaded TF state file when unlocking a deployment
      * 
@@ -229,6 +291,8 @@ public enum DeploymentStep */ public static final int RUNNING_TF_VALIDATE_VALUE = 7; /** + * + * *
      * Unlocking a deployment
      * 
@@ -237,6 +301,8 @@ public enum DeploymentStep */ public static final int UNLOCKING_DEPLOYMENT_VALUE = 8; /** + * + * *
      * Operation was successful
      * 
@@ -245,6 +311,8 @@ public enum DeploymentStep */ public static final int SUCCEEDED_VALUE = 9; /** + * + * *
      * Operation failed
      * 
@@ -253,6 +321,8 @@ public enum DeploymentStep */ public static final int FAILED_VALUE = 10; /** + * + * *
      * Validating the provided repository.
      * 
@@ -261,6 +331,8 @@ public enum DeploymentStep */ public static final int VALIDATING_REPOSITORY_VALUE = 11; /** + * + * *
      * Running quota validation
      * 
@@ -269,7 +341,6 @@ public enum DeploymentStep */ public static final int RUNNING_QUOTA_VALIDATION_VALUE = 12; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -294,59 +365,71 @@ public static DeploymentStep valueOf(int value) { */ public static DeploymentStep forNumber(int value) { switch (value) { - case 0: return DEPLOYMENT_STEP_UNSPECIFIED; - case 1: return PREPARING_STORAGE_BUCKET; - case 2: return DOWNLOADING_BLUEPRINT; - case 3: return RUNNING_TF_INIT; - case 4: return RUNNING_TF_PLAN; - case 5: return RUNNING_TF_APPLY; - case 6: return RUNNING_TF_DESTROY; - case 7: return RUNNING_TF_VALIDATE; - case 8: return UNLOCKING_DEPLOYMENT; - case 9: return SUCCEEDED; - case 10: return FAILED; - case 11: return VALIDATING_REPOSITORY; - case 12: return RUNNING_QUOTA_VALIDATION; - default: return null; + case 0: + return DEPLOYMENT_STEP_UNSPECIFIED; + case 1: + return PREPARING_STORAGE_BUCKET; + case 2: + return DOWNLOADING_BLUEPRINT; + case 3: + return RUNNING_TF_INIT; + case 4: + return RUNNING_TF_PLAN; + case 5: + return RUNNING_TF_APPLY; + case 6: + return RUNNING_TF_DESTROY; + case 7: + return RUNNING_TF_VALIDATE; + case 8: + return UNLOCKING_DEPLOYMENT; + case 9: + return SUCCEEDED; + case 10: + return FAILED; + case 11: + return VALIDATING_REPOSITORY; + case 12: + return RUNNING_QUOTA_VALIDATION; + 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< - DeploymentStep> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeploymentStep findValueByNumber(int number) { - return DeploymentStep.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 DeploymentStep findValueByNumber(int number) { + return DeploymentStep.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.config.v1.DeploymentOperationMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeploymentOperationMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final DeploymentStep[] VALUES = values(); - public static DeploymentStep valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeploymentStep 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; @@ -367,37 +450,51 @@ private DeploymentStep(int value) { public static final int STEP_FIELD_NUMBER = 1; private int step_ = 0; /** + * + * *
    * The current step the deployment operation is running.
    * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return The enum numeric value on the wire for step. */ - @java.lang.Override public int getStepValue() { + @java.lang.Override + public int getStepValue() { return step_; } /** + * + * *
    * The current step the deployment operation is running.
    * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return The step. */ - @java.lang.Override public com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep getStep() { - com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep result = com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.forNumber(step_); - return result == null ? com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep getStep() { + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep result = + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.forNumber(step_); + return result == null + ? com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.UNRECOGNIZED + : result; } public static final int APPLY_RESULTS_FIELD_NUMBER = 2; private com.google.cloud.config.v1.ApplyResults applyResults_; /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
* * .google.cloud.config.v1.ApplyResults apply_results = 2; + * * @return Whether the applyResults field is set. */ @java.lang.Override @@ -405,18 +502,25 @@ public boolean hasApplyResults() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
* * .google.cloud.config.v1.ApplyResults apply_results = 2; + * * @return The applyResults. */ @java.lang.Override public com.google.cloud.config.v1.ApplyResults getApplyResults() { - return applyResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
@@ -425,18 +529,24 @@ public com.google.cloud.config.v1.ApplyResults getApplyResults() { */ @java.lang.Override public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder() { - return applyResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } public static final int BUILD_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object build_ = ""; /** + * + * *
    * Output only. Cloud Build instance UUID associated with this operation.
    * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ @java.lang.Override @@ -445,29 +555,29 @@ public java.lang.String getBuild() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; } } /** + * + * *
    * Output only. Cloud Build instance UUID associated with this operation.
    * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -476,15 +586,19 @@ public java.lang.String getBuild() { } public static final int LOGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object logs_ = ""; /** + * + * *
    * Output only. Location of Deployment operations logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ @java.lang.Override @@ -493,30 +607,30 @@ public java.lang.String getLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; } } /** + * + * *
    * Output only. Location of Deployment operations logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -525,6 +639,7 @@ public java.lang.String getLogs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -536,9 +651,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (step_ != com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.DEPLOYMENT_STEP_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (step_ + != com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep + .DEPLOYMENT_STEP_UNSPECIFIED + .getNumber()) { output.writeEnum(1, step_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -559,13 +676,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (step_ != com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.DEPLOYMENT_STEP_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, step_); + if (step_ + != com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep + .DEPLOYMENT_STEP_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, step_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getApplyResults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApplyResults()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, build_); @@ -581,23 +699,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.config.v1.DeploymentOperationMetadata)) { return super.equals(obj); } - com.google.cloud.config.v1.DeploymentOperationMetadata other = (com.google.cloud.config.v1.DeploymentOperationMetadata) obj; + com.google.cloud.config.v1.DeploymentOperationMetadata other = + (com.google.cloud.config.v1.DeploymentOperationMetadata) obj; if (step_ != other.step_) return false; if (hasApplyResults() != other.hasApplyResults()) return false; if (hasApplyResults()) { - if (!getApplyResults() - .equals(other.getApplyResults())) return false; + if (!getApplyResults().equals(other.getApplyResults())) return false; } - if (!getBuild() - .equals(other.getBuild())) return false; - if (!getLogs() - .equals(other.getLogs())) return false; + if (!getBuild().equals(other.getBuild())) return false; + if (!getLogs().equals(other.getLogs())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -625,119 +741,127 @@ public int hashCode() { } public static com.google.cloud.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeploymentOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.DeploymentOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.DeploymentOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.DeploymentOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata 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.config.v1.DeploymentOperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.DeploymentOperationMetadata 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; } /** + * + * *
    * Ephemeral metadata content describing the state of a deployment operation.
    * 
* * Protobuf type {@code google.cloud.config.v1.DeploymentOperationMetadata} */ - 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.config.v1.DeploymentOperationMetadata) com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.DeploymentOperationMetadata.class, com.google.cloud.config.v1.DeploymentOperationMetadata.Builder.class); + com.google.cloud.config.v1.DeploymentOperationMetadata.class, + com.google.cloud.config.v1.DeploymentOperationMetadata.Builder.class); } // Construct using com.google.cloud.config.v1.DeploymentOperationMetadata.newBuilder() @@ -745,17 +869,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) { getApplyResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -772,9 +896,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; } @java.lang.Override @@ -793,8 +917,11 @@ public com.google.cloud.config.v1.DeploymentOperationMetadata build() { @java.lang.Override public com.google.cloud.config.v1.DeploymentOperationMetadata buildPartial() { - com.google.cloud.config.v1.DeploymentOperationMetadata result = new com.google.cloud.config.v1.DeploymentOperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.DeploymentOperationMetadata result = + new com.google.cloud.config.v1.DeploymentOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -806,9 +933,8 @@ private void buildPartial0(com.google.cloud.config.v1.DeploymentOperationMetadat } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.applyResults_ = applyResultsBuilder_ == null - ? applyResults_ - : applyResultsBuilder_.build(); + result.applyResults_ = + applyResultsBuilder_ == null ? applyResults_ : applyResultsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -824,38 +950,39 @@ private void buildPartial0(com.google.cloud.config.v1.DeploymentOperationMetadat 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.config.v1.DeploymentOperationMetadata) { - return mergeFrom((com.google.cloud.config.v1.DeploymentOperationMetadata)other); + return mergeFrom((com.google.cloud.config.v1.DeploymentOperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -863,7 +990,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.DeploymentOperationMetadata other) { - if (other == com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance()) + return this; if (other.step_ != 0) { setStepValue(other.getStepValue()); } @@ -906,34 +1034,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - step_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getApplyResultsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - build_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - logs_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + step_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getApplyResultsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + logs_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -943,26 +1074,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int step_ = 0; /** + * + * *
      * The current step the deployment operation is running.
      * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return The enum numeric value on the wire for step. */ - @java.lang.Override public int getStepValue() { + @java.lang.Override + public int getStepValue() { return step_; } /** + * + * *
      * The current step the deployment operation is running.
      * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @param value The enum numeric value on the wire for step to set. * @return This builder for chaining. */ @@ -973,28 +1112,38 @@ public Builder setStepValue(int value) { return this; } /** + * + * *
      * The current step the deployment operation is running.
      * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return The step. */ @java.lang.Override public com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep getStep() { - com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep result = com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.forNumber(step_); - return result == null ? com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.UNRECOGNIZED : result; + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep result = + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.forNumber(step_); + return result == null + ? com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.UNRECOGNIZED + : result; } /** + * + * *
      * The current step the deployment operation is running.
      * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @param value The step to set. * @return This builder for chaining. */ - public Builder setStep(com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep value) { + public Builder setStep( + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep value) { if (value == null) { throw new NullPointerException(); } @@ -1004,11 +1153,14 @@ public Builder setStep(com.google.cloud.config.v1.DeploymentOperationMetadata.De return this; } /** + * + * *
      * The current step the deployment operation is running.
      * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { @@ -1020,34 +1172,47 @@ public Builder clearStep() { private com.google.cloud.config.v1.ApplyResults applyResults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder> applyResultsBuilder_; + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder> + applyResultsBuilder_; /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
* * .google.cloud.config.v1.ApplyResults apply_results = 2; + * * @return Whether the applyResults field is set. */ public boolean hasApplyResults() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
* * .google.cloud.config.v1.ApplyResults apply_results = 2; + * * @return The applyResults. */ public com.google.cloud.config.v1.ApplyResults getApplyResults() { if (applyResultsBuilder_ == null) { - return applyResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } else { return applyResultsBuilder_.getMessage(); } } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1068,6 +1233,8 @@ public Builder setApplyResults(com.google.cloud.config.v1.ApplyResults value) { return this; } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1086,6 +1253,8 @@ public Builder setApplyResults( return this; } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1094,9 +1263,9 @@ public Builder setApplyResults( */ public Builder mergeApplyResults(com.google.cloud.config.v1.ApplyResults value) { if (applyResultsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - applyResults_ != null && - applyResults_ != com.google.cloud.config.v1.ApplyResults.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && applyResults_ != null + && applyResults_ != com.google.cloud.config.v1.ApplyResults.getDefaultInstance()) { getApplyResultsBuilder().mergeFrom(value); } else { applyResults_ = value; @@ -1111,6 +1280,8 @@ public Builder mergeApplyResults(com.google.cloud.config.v1.ApplyResults value) return this; } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1128,6 +1299,8 @@ public Builder clearApplyResults() { return this; } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1140,6 +1313,8 @@ public com.google.cloud.config.v1.ApplyResults.Builder getApplyResultsBuilder() return getApplyResultsFieldBuilder().getBuilder(); } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1150,11 +1325,14 @@ public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder if (applyResultsBuilder_ != null) { return applyResultsBuilder_.getMessageOrBuilder(); } else { - return applyResults_ == null ? - com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } } /** + * + * *
      * Outputs and artifacts from applying a deployment.
      * 
@@ -1162,14 +1340,17 @@ public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder * .google.cloud.config.v1.ApplyResults apply_results = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder> + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder> getApplyResultsFieldBuilder() { if (applyResultsBuilder_ == null) { - applyResultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder>( - getApplyResults(), - getParentForChildren(), - isClean()); + applyResultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder>( + getApplyResults(), getParentForChildren(), isClean()); applyResults_ = null; } return applyResultsBuilder_; @@ -1177,18 +1358,20 @@ public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder private java.lang.Object build_ = ""; /** + * + * *
      * Output only. Cloud Build instance UUID associated with this operation.
      * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; @@ -1197,20 +1380,21 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this operation.
      * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -1218,28 +1402,35 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this operation.
      * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this operation.
      * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -1249,17 +1440,21 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this operation.
      * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000004; @@ -1269,19 +1464,21 @@ public Builder setBuildBytes( private java.lang.Object logs_ = ""; /** + * + * *
      * Output only. Location of Deployment operations logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ public java.lang.String getLogs() { java.lang.Object ref = logs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; @@ -1290,21 +1487,22 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of Deployment operations logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -1312,30 +1510,37 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of Deployment operations logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The logs to set. * @return This builder for chaining. */ - public Builder setLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } logs_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Location of Deployment operations logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLogs() { @@ -1345,27 +1550,31 @@ public Builder clearLogs() { return this; } /** + * + * *
      * Output only. Location of Deployment operations logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for logs to set. * @return This builder for chaining. */ - public Builder setLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); logs_ = value; bitField0_ |= 0x00000008; 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); } @@ -1375,12 +1584,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentOperationMetadata) private static final com.google.cloud.config.v1.DeploymentOperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentOperationMetadata(); } @@ -1389,27 +1598,27 @@ public static com.google.cloud.config.v1.DeploymentOperationMetadata getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeploymentOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1424,6 +1633,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.config.v1.DeploymentOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java index 1676067ec168..58d02c6984c4 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationMetadataOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface DeploymentOperationMetadataOrBuilder extends +public interface DeploymentOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The current step the deployment operation is running.
    * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return The enum numeric value on the wire for step. */ int getStepValue(); /** + * + * *
    * The current step the deployment operation is running.
    * 
* * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1; + * * @return The step. */ com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep getStep(); /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
* * .google.cloud.config.v1.ApplyResults apply_results = 2; + * * @return Whether the applyResults field is set. */ boolean hasApplyResults(); /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
* * .google.cloud.config.v1.ApplyResults apply_results = 2; + * * @return The applyResults. */ com.google.cloud.config.v1.ApplyResults getApplyResults(); /** + * + * *
    * Outputs and artifacts from applying a deployment.
    * 
@@ -55,44 +85,54 @@ public interface DeploymentOperationMetadataOrBuilder extends com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this operation.
    * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this operation.
    * 
* * string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. Location of Deployment operations logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ java.lang.String getLogs(); /** + * + * *
    * Output only. Location of Deployment operations logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - com.google.protobuf.ByteString - getLogsBytes(); + com.google.protobuf.ByteString getLogsBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java index 43923a0b5ffc..7b8275fee03a 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOrBuilder.java @@ -1,34 +1,58 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface DeploymentOrBuilder extends +public interface DeploymentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.Deployment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A blueprint described using Terraform's HashiCorp Configuration Language
    * as a root module.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return Whether the terraformBlueprint field is set. */ boolean hasTerraformBlueprint(); /** + * + * *
    * A blueprint described using Terraform's HashiCorp Configuration Language
    * as a root module.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return The terraformBlueprint. */ com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint(); /** + * + * *
    * A blueprint described using Terraform's HashiCorp Configuration Language
    * as a root module.
@@ -39,82 +63,111 @@ public interface DeploymentOrBuilder extends
   com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder();
 
   /**
+   *
+   *
    * 
    * Resource name of the deployment.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name of the deployment.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time when the deployment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when the deployment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when the deployment was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when the deployment was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when the deployment was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when the deployment was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * User-defined metadata for the deployment.
    * 
@@ -123,30 +176,31 @@ public interface DeploymentOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * User-defined metadata for the deployment.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * User-defined metadata for the deployment.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * User-defined metadata for the deployment.
    * 
@@ -154,40 +208,53 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * User-defined metadata for the deployment.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Current state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.config.v1.Deployment.State getState(); /** + * + * *
    * Output only. Revision name that was most recently applied.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -195,10 +262,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The latestRevision. */ java.lang.String getLatestRevision(); /** + * + * *
    * Output only. Revision name that was most recently applied.
    * Format: `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -206,198 +276,262 @@ java.lang.String getLabelsOrThrow(
    * 
* * string latest_revision = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for latestRevision. */ - com.google.protobuf.ByteString - getLatestRevisionBytes(); + com.google.protobuf.ByteString getLatestRevisionBytes(); /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDetail. */ java.lang.String getStateDetail(); /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * string state_detail = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDetail. */ - com.google.protobuf.ByteString - getStateDetailBytes(); + com.google.protobuf.ByteString getStateDetailBytes(); /** + * + * *
    * Output only. Error code describing errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ int getErrorCodeValue(); /** + * + * *
    * Output only. Error code describing errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ com.google.cloud.config.v1.Deployment.ErrorCode getErrorCode(); /** + * + * *
    * Output only. Location of artifacts from a DeleteDeployment operation.
    * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteResults field is set. */ boolean hasDeleteResults(); /** + * + * *
    * Output only. Location of artifacts from a DeleteDeployment operation.
    * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteResults. */ com.google.cloud.config.v1.ApplyResults getDeleteResults(); /** + * + * *
    * Output only. Location of artifacts from a DeleteDeployment operation.
    * 
* - * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults delete_results = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.ApplyResultsOrBuilder getDeleteResultsOrBuilder(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with deleting this
    * deployment.
    * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleteBuild. */ java.lang.String getDeleteBuild(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with deleting this
    * deployment.
    * 
* * string delete_build = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for deleteBuild. */ - com.google.protobuf.ByteString - getDeleteBuildBytes(); + com.google.protobuf.ByteString getDeleteBuildBytes(); /** + * + * *
    * Output only. Location of Cloud Build logs in Google Cloud Storage,
    * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
    * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleteLogs. */ java.lang.String getDeleteLogs(); /** + * + * *
    * Output only. Location of Cloud Build logs in Google Cloud Storage,
    * populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
    * 
* * string delete_logs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for deleteLogs. */ - com.google.protobuf.ByteString - getDeleteLogsBytes(); + com.google.protobuf.ByteString getDeleteLogsBytes(); /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTfErrorsList(); + java.util.List getTfErrorsList(); /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.TerraformError getTfErrors(int index); /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTfErrorsCount(); /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTfErrorsOrBuilderList(); /** + * + * *
    * Output only. Errors encountered when deleting this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index); + com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index); /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ java.lang.String getErrorLogs(); /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ - com.google.protobuf.ByteString - getErrorLogsBytes(); + com.google.protobuf.ByteString getErrorLogsBytes(); /** + * + * *
    * Optional. User-defined location of Cloud Build logs and artifacts in Google
    * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -410,11 +544,15 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * - The field cannot be updated, including changing its presence
    * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the artifactsGcsBucket field is set. */ boolean hasArtifactsGcsBucket(); /** + * + * *
    * Optional. User-defined location of Cloud Build logs and artifacts in Google
    * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -427,11 +565,15 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * - The field cannot be updated, including changing its presence
    * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The artifactsGcsBucket. */ java.lang.String getArtifactsGcsBucket(); /** + * + * *
    * Optional. User-defined location of Cloud Build logs and artifacts in Google
    * Cloud Storage. Format: `gs://{bucket}/{folder}`
@@ -444,48 +586,65 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * - The field cannot be updated, including changing its presence
    * 
* - * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for artifactsGcsBucket. */ - com.google.protobuf.ByteString - getArtifactsGcsBucketBytes(); + com.google.protobuf.ByteString getArtifactsGcsBucketBytes(); /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * actuating resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the serviceAccount field is set. */ boolean hasServiceAccount(); /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * actuating resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * actuating resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string service_account = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * By default, Infra Manager will return a failure when
    * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -497,10 +656,13 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * optional bool import_existing_resources = 17; + * * @return Whether the importExistingResources field is set. */ boolean hasImportExistingResources(); /** + * + * *
    * By default, Infra Manager will return a failure when
    * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -512,11 +674,14 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * optional bool import_existing_resources = 17; + * * @return The importExistingResources. */ boolean getImportExistingResources(); /** + * + * *
    * Optional. The user-specified Cloud Build worker pool resource in which the
    * Cloud Build job will execute. Format:
@@ -525,11 +690,16 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * used.
    * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workerPool field is set. */ boolean hasWorkerPool(); /** + * + * *
    * Optional. The user-specified Cloud Build worker pool resource in which the
    * Cloud Build job will execute. Format:
@@ -538,11 +708,16 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * used.
    * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ java.lang.String getWorkerPool(); /** + * + * *
    * Optional. The user-specified Cloud Build worker pool resource in which the
    * Cloud Build job will execute. Format:
@@ -551,104 +726,142 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * used.
    * 
* - * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - com.google.protobuf.ByteString - getWorkerPoolBytes(); + com.google.protobuf.ByteString getWorkerPoolBytes(); /** + * + * *
    * Output only. Current lock state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for lockState. */ int getLockStateValue(); /** + * + * *
    * Output only. Current lock state of the deployment.
    * 
* - * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Deployment.LockState lock_state = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lockState. */ com.google.cloud.config.v1.Deployment.LockState getLockState(); /** + * + * *
    * Optional. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tfVersionConstraint field is set. */ boolean hasTfVersionConstraint(); /** + * + * *
    * Optional. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tfVersionConstraint. */ java.lang.String getTfVersionConstraint(); /** + * + * *
    * Optional. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* - * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * optional string tf_version_constraint = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for tfVersionConstraint. */ - com.google.protobuf.ByteString - getTfVersionConstraintBytes(); + com.google.protobuf.ByteString getTfVersionConstraintBytes(); /** + * + * *
    * Output only. The current Terraform version set on the deployment.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersion. */ java.lang.String getTfVersion(); /** + * + * *
    * Output only. The current Terraform version set on the deployment.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersion. */ - com.google.protobuf.ByteString - getTfVersionBytes(); + com.google.protobuf.ByteString getTfVersionBytes(); /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for quotaValidation. */ int getQuotaValidationValue(); /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The quotaValidation. */ com.google.cloud.config.v1.QuotaValidation getQuotaValidation(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java similarity index 65% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java index a4497afe7ce4..6775e0579f9d 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to export a state file passed to a 'ExportDeploymentStatefile'
  * call.
@@ -12,50 +29,59 @@
  *
  * Protobuf type {@code google.cloud.config.v1.ExportDeploymentStatefileRequest}
  */
-public final class ExportDeploymentStatefileRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportDeploymentStatefileRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ExportDeploymentStatefileRequest)
     ExportDeploymentStatefileRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportDeploymentStatefileRequest.newBuilder() to construct.
-  private ExportDeploymentStatefileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ExportDeploymentStatefileRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportDeploymentStatefileRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportDeploymentStatefileRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.ExportDeploymentStatefileRequest.class, com.google.cloud.config.v1.ExportDeploymentStatefileRequest.Builder.class);
+            com.google.cloud.config.v1.ExportDeploymentStatefileRequest.class,
+            com.google.cloud.config.v1.ExportDeploymentStatefileRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 @@ -64,31 +90,33 @@ 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 in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 { @@ -99,6 +127,8 @@ public java.lang.String getParent() { public static final int DRAFT_FIELD_NUMBER = 3; private boolean draft_ = false; /** + * + * *
    * Optional. If this flag is set to true, the exported deployment state file
    * will be the draft state. This will enable the draft file to be validated
@@ -106,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * bool draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The draft. */ @java.lang.Override @@ -114,6 +145,7 @@ public boolean getDraft() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,8 +157,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_); } @@ -146,8 +177,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (draft_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, draft_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, draft_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -157,17 +187,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.config.v1.ExportDeploymentStatefileRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ExportDeploymentStatefileRequest other = (com.google.cloud.config.v1.ExportDeploymentStatefileRequest) obj; + com.google.cloud.config.v1.ExportDeploymentStatefileRequest other = + (com.google.cloud.config.v1.ExportDeploymentStatefileRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getDraft() - != other.getDraft()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getDraft() != other.getDraft()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,106 +211,111 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + DRAFT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDraft()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDraft()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest 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.config.v1.ExportDeploymentStatefileRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.ExportDeploymentStatefileRequest 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; } /** + * + * *
    * A request to export a state file passed to a 'ExportDeploymentStatefile'
    * call.
@@ -289,33 +323,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.ExportDeploymentStatefileRequest}
    */
-  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.config.v1.ExportDeploymentStatefileRequest)
       com.google.cloud.config.v1.ExportDeploymentStatefileRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.ExportDeploymentStatefileRequest.class, com.google.cloud.config.v1.ExportDeploymentStatefileRequest.Builder.class);
+              com.google.cloud.config.v1.ExportDeploymentStatefileRequest.class,
+              com.google.cloud.config.v1.ExportDeploymentStatefileRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.ExportDeploymentStatefileRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +359,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,8 +380,11 @@ public com.google.cloud.config.v1.ExportDeploymentStatefileRequest build() {
 
     @java.lang.Override
     public com.google.cloud.config.v1.ExportDeploymentStatefileRequest buildPartial() {
-      com.google.cloud.config.v1.ExportDeploymentStatefileRequest result = new com.google.cloud.config.v1.ExportDeploymentStatefileRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.config.v1.ExportDeploymentStatefileRequest result =
+          new com.google.cloud.config.v1.ExportDeploymentStatefileRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -367,38 +403,39 @@ private void buildPartial0(com.google.cloud.config.v1.ExportDeploymentStatefileR
     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.config.v1.ExportDeploymentStatefileRequest) {
-        return mergeFrom((com.google.cloud.config.v1.ExportDeploymentStatefileRequest)other);
+        return mergeFrom((com.google.cloud.config.v1.ExportDeploymentStatefileRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,7 +443,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.config.v1.ExportDeploymentStatefileRequest other) {
-      if (other == com.google.cloud.config.v1.ExportDeploymentStatefileRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.config.v1.ExportDeploymentStatefileRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -441,22 +479,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 24: {
-              draft_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 24:
+              {
+                draft_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -466,24 +507,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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; @@ -492,22 +538,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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 { @@ -515,32 +564,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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() { @@ -550,19 +610,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -570,8 +636,10 @@ public Builder setParentBytes( return this; } - private boolean draft_ ; + private boolean draft_; /** + * + * *
      * Optional. If this flag is set to true, the exported deployment state file
      * will be the draft state. This will enable the draft file to be validated
@@ -579,6 +647,7 @@ public Builder setParentBytes(
      * 
* * bool draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The draft. */ @java.lang.Override @@ -586,6 +655,8 @@ public boolean getDraft() { return draft_; } /** + * + * *
      * Optional. If this flag is set to true, the exported deployment state file
      * will be the draft state. This will enable the draft file to be validated
@@ -593,6 +664,7 @@ public boolean getDraft() {
      * 
* * bool draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The draft to set. * @return This builder for chaining. */ @@ -604,6 +676,8 @@ public Builder setDraft(boolean value) { return this; } /** + * + * *
      * Optional. If this flag is set to true, the exported deployment state file
      * will be the draft state. This will enable the draft file to be validated
@@ -611,6 +685,7 @@ public Builder setDraft(boolean value) {
      * 
* * bool draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDraft() { @@ -619,9 +694,9 @@ public Builder clearDraft() { 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); } @@ -631,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ExportDeploymentStatefileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ExportDeploymentStatefileRequest) private static final com.google.cloud.config.v1.ExportDeploymentStatefileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ExportDeploymentStatefileRequest(); } @@ -645,27 +720,27 @@ public static com.google.cloud.config.v1.ExportDeploymentStatefileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDeploymentStatefileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDeploymentStatefileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -680,6 +755,4 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.config.v1.ExportDeploymentStatefileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java index ca6c36e6d32f..7d3ab55b601d 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportDeploymentStatefileRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ExportDeploymentStatefileRequestOrBuilder extends +public interface ExportDeploymentStatefileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportDeploymentStatefileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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. If this flag is set to true, the exported deployment state file
    * will be the draft state. This will enable the draft file to be validated
@@ -40,6 +67,7 @@ public interface ExportDeploymentStatefileRequestOrBuilder extends
    * 
* * bool draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The draft. */ boolean getDraft(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java index 4ceef25ddd4e..16f8c4ac010a 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to get a state file lock info passed to a 'ExportLockInfo' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.ExportLockInfoRequest} */ -public final class ExportLockInfoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportLockInfoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ExportLockInfoRequest) ExportLockInfoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportLockInfoRequest.newBuilder() to construct. private ExportLockInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportLockInfoRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportLockInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ExportLockInfoRequest.class, com.google.cloud.config.v1.ExportLockInfoRequest.Builder.class); + com.google.cloud.config.v1.ExportLockInfoRequest.class, + com.google.cloud.config.v1.ExportLockInfoRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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_); } @@ -130,15 +157,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.config.v1.ExportLockInfoRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ExportLockInfoRequest other = (com.google.cloud.config.v1.ExportLockInfoRequest) obj; + com.google.cloud.config.v1.ExportLockInfoRequest other = + (com.google.cloud.config.v1.ExportLockInfoRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ExportLockInfoRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ExportLockInfoRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportLockInfoRequest 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.config.v1.ExportLockInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportLockInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ExportLockInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportLockInfoRequest 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.config.v1.ExportLockInfoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ExportLockInfoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ExportLockInfoRequest 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.config.v1.ExportLockInfoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ExportLockInfoRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ExportLockInfoRequest 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.config.v1.ExportLockInfoRequest 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.config.v1.ExportLockInfoRequest 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.config.v1.ExportLockInfoRequest 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; } /** + * + * *
    * A request to get a state file lock info passed to a 'ExportLockInfo' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.ExportLockInfoRequest} */ - 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.config.v1.ExportLockInfoRequest) com.google.cloud.config.v1.ExportLockInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ExportLockInfoRequest.class, com.google.cloud.config.v1.ExportLockInfoRequest.Builder.class); + com.google.cloud.config.v1.ExportLockInfoRequest.class, + com.google.cloud.config.v1.ExportLockInfoRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ExportLockInfoRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; } @java.lang.Override @@ -313,8 +344,11 @@ public com.google.cloud.config.v1.ExportLockInfoRequest build() { @java.lang.Override public com.google.cloud.config.v1.ExportLockInfoRequest buildPartial() { - com.google.cloud.config.v1.ExportLockInfoRequest result = new com.google.cloud.config.v1.ExportLockInfoRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ExportLockInfoRequest result = + new com.google.cloud.config.v1.ExportLockInfoRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +364,39 @@ private void buildPartial0(com.google.cloud.config.v1.ExportLockInfoRequest resu 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.config.v1.ExportLockInfoRequest) { - return mergeFrom((com.google.cloud.config.v1.ExportLockInfoRequest)other); + return mergeFrom((com.google.cloud.config.v1.ExportLockInfoRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ExportLockInfoRequest other) { - if (other == com.google.cloud.config.v1.ExportLockInfoRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ExportLockInfoRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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; @@ -446,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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 { @@ -468,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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() { @@ -501,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ExportLockInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ExportLockInfoRequest) private static final com.google.cloud.config.v1.ExportLockInfoRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ExportLockInfoRequest(); } @@ -545,27 +608,27 @@ public static com.google.cloud.config.v1.ExportLockInfoRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportLockInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportLockInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ExportLockInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java new file mode 100644 index 000000000000..56c07753c4f4 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface ExportLockInfoRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportLockInfoRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the deployment in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the deployment in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java index 64ba046b192a..7877c7b131a3 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,56 +20,66 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to export preview results.
  * 
* * Protobuf type {@code google.cloud.config.v1.ExportPreviewResultRequest} */ -public final class ExportPreviewResultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportPreviewResultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ExportPreviewResultRequest) ExportPreviewResultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportPreviewResultRequest.newBuilder() to construct. private ExportPreviewResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportPreviewResultRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportPreviewResultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ExportPreviewResultRequest.class, com.google.cloud.config.v1.ExportPreviewResultRequest.Builder.class); + com.google.cloud.config.v1.ExportPreviewResultRequest.class, + com.google.cloud.config.v1.ExportPreviewResultRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The preview whose results should be exported. The preview value
    * is in the format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * 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 @@ -63,31 +88,33 @@ 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 preview whose results should be exported. The preview value
    * is in the format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * 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 { @@ -96,6 +123,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,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_); } @@ -132,15 +159,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.config.v1.ExportPreviewResultRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ExportPreviewResultRequest other = (com.google.cloud.config.v1.ExportPreviewResultRequest) obj; + com.google.cloud.config.v1.ExportPreviewResultRequest other = + (com.google.cloud.config.v1.ExportPreviewResultRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,131 +187,136 @@ public int hashCode() { } public static com.google.cloud.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportPreviewResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ExportPreviewResultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ExportPreviewResultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ExportPreviewResultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.ExportPreviewResultRequest 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; } /** + * + * *
    * A request to export preview results.
    * 
* * Protobuf type {@code google.cloud.config.v1.ExportPreviewResultRequest} */ - 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.config.v1.ExportPreviewResultRequest) com.google.cloud.config.v1.ExportPreviewResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ExportPreviewResultRequest.class, com.google.cloud.config.v1.ExportPreviewResultRequest.Builder.class); + com.google.cloud.config.v1.ExportPreviewResultRequest.class, + com.google.cloud.config.v1.ExportPreviewResultRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ExportPreviewResultRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; } @java.lang.Override @@ -315,8 +347,11 @@ public com.google.cloud.config.v1.ExportPreviewResultRequest build() { @java.lang.Override public com.google.cloud.config.v1.ExportPreviewResultRequest buildPartial() { - com.google.cloud.config.v1.ExportPreviewResultRequest result = new com.google.cloud.config.v1.ExportPreviewResultRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ExportPreviewResultRequest result = + new com.google.cloud.config.v1.ExportPreviewResultRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +367,39 @@ private void buildPartial0(com.google.cloud.config.v1.ExportPreviewResultRequest 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.config.v1.ExportPreviewResultRequest) { - return mergeFrom((com.google.cloud.config.v1.ExportPreviewResultRequest)other); + return mergeFrom((com.google.cloud.config.v1.ExportPreviewResultRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ExportPreviewResultRequest other) { - if (other == com.google.cloud.config.v1.ExportPreviewResultRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ExportPreviewResultRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -403,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,24 +462,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The preview whose results should be exported. The preview value
      * is in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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; @@ -449,22 +493,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The preview whose results should be exported. The preview value
      * is in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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 { @@ -472,32 +519,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The preview whose results should be exported. The preview value
      * is in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The preview whose results should be exported. The preview value
      * is in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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() { @@ -507,28 +565,34 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The preview whose results should be exported. The preview value
      * is in the format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; 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); } @@ -538,12 +602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ExportPreviewResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ExportPreviewResultRequest) private static final com.google.cloud.config.v1.ExportPreviewResultRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ExportPreviewResultRequest(); } @@ -552,27 +616,27 @@ public static com.google.cloud.config.v1.ExportPreviewResultRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportPreviewResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportPreviewResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,6 +651,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.config.v1.ExportPreviewResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java new file mode 100644 index 000000000000..f3442870a563 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface ExportPreviewResultRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportPreviewResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The preview whose results should be exported. The preview value
+   * is in the format:
+   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The preview whose results should be exported. The preview value
+   * is in the format:
+   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java similarity index 60% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java index 13bd154b9d68..b40c943d4a68 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,53 +20,61 @@ package com.google.cloud.config.v1; /** + * + * *
  * A response to `ExportPreviewResult` call. Contains preview results.
  * 
* * Protobuf type {@code google.cloud.config.v1.ExportPreviewResultResponse} */ -public final class ExportPreviewResultResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportPreviewResultResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ExportPreviewResultResponse) ExportPreviewResultResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportPreviewResultResponse.newBuilder() to construct. private ExportPreviewResultResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportPreviewResultResponse() { - } + + private ExportPreviewResultResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportPreviewResultResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ExportPreviewResultResponse.class, com.google.cloud.config.v1.ExportPreviewResultResponse.Builder.class); + com.google.cloud.config.v1.ExportPreviewResultResponse.class, + com.google.cloud.config.v1.ExportPreviewResultResponse.Builder.class); } private int bitField0_; public static final int RESULT_FIELD_NUMBER = 1; private com.google.cloud.config.v1.PreviewResult result_; /** + * + * *
    * Output only. Signed URLs for accessing the plan files.
    * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the result field is set. */ @java.lang.Override @@ -59,30 +82,44 @@ public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. Signed URLs for accessing the plan files.
    * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The result. */ @java.lang.Override public com.google.cloud.config.v1.PreviewResult getResult() { - return result_ == null ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() + : result_; } /** + * + * *
    * Output only. Signed URLs for accessing the plan files.
    * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.PreviewResultOrBuilder getResultOrBuilder() { - return result_ == null ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() + : result_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,8 +131,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getResult()); } @@ -109,8 +145,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +155,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.config.v1.ExportPreviewResultResponse)) { return super.equals(obj); } - com.google.cloud.config.v1.ExportPreviewResultResponse other = (com.google.cloud.config.v1.ExportPreviewResultResponse) obj; + com.google.cloud.config.v1.ExportPreviewResultResponse other = + (com.google.cloud.config.v1.ExportPreviewResultResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -153,119 +188,127 @@ public int hashCode() { } public static com.google.cloud.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportPreviewResultResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ExportPreviewResultResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ExportPreviewResultResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ExportPreviewResultResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse 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.config.v1.ExportPreviewResultResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.ExportPreviewResultResponse 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; } /** + * + * *
    * A response to `ExportPreviewResult` call. Contains preview results.
    * 
* * Protobuf type {@code google.cloud.config.v1.ExportPreviewResultResponse} */ - 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.config.v1.ExportPreviewResultResponse) com.google.cloud.config.v1.ExportPreviewResultResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ExportPreviewResultResponse.class, com.google.cloud.config.v1.ExportPreviewResultResponse.Builder.class); + com.google.cloud.config.v1.ExportPreviewResultResponse.class, + com.google.cloud.config.v1.ExportPreviewResultResponse.Builder.class); } // Construct using com.google.cloud.config.v1.ExportPreviewResultResponse.newBuilder() @@ -273,17 +316,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) { getResultFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +340,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; } @java.lang.Override @@ -318,8 +361,11 @@ public com.google.cloud.config.v1.ExportPreviewResultResponse build() { @java.lang.Override public com.google.cloud.config.v1.ExportPreviewResultResponse buildPartial() { - com.google.cloud.config.v1.ExportPreviewResultResponse result = new com.google.cloud.config.v1.ExportPreviewResultResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ExportPreviewResultResponse result = + new com.google.cloud.config.v1.ExportPreviewResultResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,9 +374,7 @@ private void buildPartial0(com.google.cloud.config.v1.ExportPreviewResultRespons int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.result_ = resultBuilder_ == null - ? result_ - : resultBuilder_.build(); + result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -340,38 +384,39 @@ private void buildPartial0(com.google.cloud.config.v1.ExportPreviewResultRespons 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.config.v1.ExportPreviewResultResponse) { - return mergeFrom((com.google.cloud.config.v1.ExportPreviewResultResponse)other); + return mergeFrom((com.google.cloud.config.v1.ExportPreviewResultResponse) other); } else { super.mergeFrom(other); return this; @@ -379,7 +424,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ExportPreviewResultResponse other) { - if (other == com.google.cloud.config.v1.ExportPreviewResultResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ExportPreviewResultResponse.getDefaultInstance()) + return this; if (other.hasResult()) { mergeResult(other.getResult()); } @@ -409,19 +455,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getResultFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -431,43 +477,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.config.v1.PreviewResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewResult, com.google.cloud.config.v1.PreviewResult.Builder, com.google.cloud.config.v1.PreviewResultOrBuilder> resultBuilder_; + com.google.cloud.config.v1.PreviewResult, + com.google.cloud.config.v1.PreviewResult.Builder, + com.google.cloud.config.v1.PreviewResultOrBuilder> + resultBuilder_; /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The result. */ public com.google.cloud.config.v1.PreviewResult getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setResult(com.google.cloud.config.v1.PreviewResult value) { if (resultBuilder_ == null) { @@ -483,14 +549,17 @@ public Builder setResult(com.google.cloud.config.v1.PreviewResult value) { return this; } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setResult( - com.google.cloud.config.v1.PreviewResult.Builder builderForValue) { + public Builder setResult(com.google.cloud.config.v1.PreviewResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); } else { @@ -501,17 +570,21 @@ public Builder setResult( return this; } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeResult(com.google.cloud.config.v1.PreviewResult value) { if (resultBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - result_ != null && - result_ != com.google.cloud.config.v1.PreviewResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && result_ != null + && result_ != com.google.cloud.config.v1.PreviewResult.getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; @@ -526,11 +599,15 @@ public Builder mergeResult(com.google.cloud.config.v1.PreviewResult value) { return this; } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000001); @@ -543,11 +620,15 @@ public Builder clearResult() { return this; } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.PreviewResult.Builder getResultBuilder() { bitField0_ |= 0x00000001; @@ -555,43 +636,55 @@ public com.google.cloud.config.v1.PreviewResult.Builder getResultBuilder() { return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.PreviewResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.cloud.config.v1.PreviewResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.cloud.config.v1.PreviewResult.getDefaultInstance() + : result_; } } /** + * + * *
      * Output only. Signed URLs for accessing the plan files.
      * 
* - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewResult, com.google.cloud.config.v1.PreviewResult.Builder, com.google.cloud.config.v1.PreviewResultOrBuilder> + com.google.cloud.config.v1.PreviewResult, + com.google.cloud.config.v1.PreviewResult.Builder, + com.google.cloud.config.v1.PreviewResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewResult, com.google.cloud.config.v1.PreviewResult.Builder, com.google.cloud.config.v1.PreviewResultOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.PreviewResult, + com.google.cloud.config.v1.PreviewResult.Builder, + com.google.cloud.config.v1.PreviewResultOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } + @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,12 +694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ExportPreviewResultResponse) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ExportPreviewResultResponse) private static final com.google.cloud.config.v1.ExportPreviewResultResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ExportPreviewResultResponse(); } @@ -615,27 +708,27 @@ public static com.google.cloud.config.v1.ExportPreviewResultResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportPreviewResultResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportPreviewResultResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,6 +743,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.config.v1.ExportPreviewResultResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java new file mode 100644 index 000000000000..a65e792feafb --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface ExportPreviewResultResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportPreviewResultResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Signed URLs for accessing the plan files.
+   * 
+ * + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the result field is set. + */ + boolean hasResult(); + /** + * + * + *
+   * Output only. Signed URLs for accessing the plan files.
+   * 
+ * + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The result. + */ + com.google.cloud.config.v1.PreviewResult getResult(); + /** + * + * + *
+   * Output only. Signed URLs for accessing the plan files.
+   * 
+ * + * + * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.config.v1.PreviewResultOrBuilder getResultOrBuilder(); +} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java index 05b15219a1ec..b246b17c1795 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to export a state file passed to a 'ExportRevisionStatefile'
  * call.
@@ -12,50 +29,59 @@
  *
  * Protobuf type {@code google.cloud.config.v1.ExportRevisionStatefileRequest}
  */
-public final class ExportRevisionStatefileRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportRevisionStatefileRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ExportRevisionStatefileRequest)
     ExportRevisionStatefileRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportRevisionStatefileRequest.newBuilder() to construct.
-  private ExportRevisionStatefileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ExportRevisionStatefileRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportRevisionStatefileRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportRevisionStatefileRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.ExportRevisionStatefileRequest.class, com.google.cloud.config.v1.ExportRevisionStatefileRequest.Builder.class);
+            com.google.cloud.config.v1.ExportRevisionStatefileRequest.class,
+            com.google.cloud.config.v1.ExportRevisionStatefileRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * 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 @@ -64,31 +90,33 @@ 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 in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * 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 { @@ -97,6 +125,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +137,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_); } @@ -133,15 +161,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.config.v1.ExportRevisionStatefileRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ExportRevisionStatefileRequest other = (com.google.cloud.config.v1.ExportRevisionStatefileRequest) obj; + com.google.cloud.config.v1.ExportRevisionStatefileRequest other = + (com.google.cloud.config.v1.ExportRevisionStatefileRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,98 +189,104 @@ public int hashCode() { } public static com.google.cloud.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportRevisionStatefileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ExportRevisionStatefileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ExportRevisionStatefileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ExportRevisionStatefileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest 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.config.v1.ExportRevisionStatefileRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.ExportRevisionStatefileRequest 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; } /** + * + * *
    * A request to export a state file passed to a 'ExportRevisionStatefile'
    * call.
@@ -260,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.ExportRevisionStatefileRequest}
    */
-  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.config.v1.ExportRevisionStatefileRequest)
       com.google.cloud.config.v1.ExportRevisionStatefileRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.ExportRevisionStatefileRequest.class, com.google.cloud.config.v1.ExportRevisionStatefileRequest.Builder.class);
+              com.google.cloud.config.v1.ExportRevisionStatefileRequest.class,
+              com.google.cloud.config.v1.ExportRevisionStatefileRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.ExportRevisionStatefileRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -296,9 +329,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor;
     }
 
     @java.lang.Override
@@ -317,8 +350,11 @@ public com.google.cloud.config.v1.ExportRevisionStatefileRequest build() {
 
     @java.lang.Override
     public com.google.cloud.config.v1.ExportRevisionStatefileRequest buildPartial() {
-      com.google.cloud.config.v1.ExportRevisionStatefileRequest result = new com.google.cloud.config.v1.ExportRevisionStatefileRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.config.v1.ExportRevisionStatefileRequest result =
+          new com.google.cloud.config.v1.ExportRevisionStatefileRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -334,38 +370,39 @@ private void buildPartial0(com.google.cloud.config.v1.ExportRevisionStatefileReq
     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.config.v1.ExportRevisionStatefileRequest) {
-        return mergeFrom((com.google.cloud.config.v1.ExportRevisionStatefileRequest)other);
+        return mergeFrom((com.google.cloud.config.v1.ExportRevisionStatefileRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -373,7 +410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.config.v1.ExportRevisionStatefileRequest other) {
-      if (other == com.google.cloud.config.v1.ExportRevisionStatefileRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.config.v1.ExportRevisionStatefileRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -405,17 +443,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,24 +465,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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; @@ -451,22 +496,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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 { @@ -474,32 +522,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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() { @@ -509,28 +568,34 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; 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); } @@ -540,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ExportRevisionStatefileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ExportRevisionStatefileRequest) private static final com.google.cloud.config.v1.ExportRevisionStatefileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ExportRevisionStatefileRequest(); } @@ -554,27 +619,27 @@ public static com.google.cloud.config.v1.ExportRevisionStatefileRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRevisionStatefileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRevisionStatefileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,6 +654,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.config.v1.ExportRevisionStatefileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java new file mode 100644 index 000000000000..b2f3eeaaca16 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface ExportRevisionStatefileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportRevisionStatefileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent in whose context the statefile is listed. The parent
+   * value is in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent in whose context the statefile is listed. The parent
+   * value is in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java similarity index 62% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java index b343091beeb7..5b109fa6b043 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequest.java @@ -1,55 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -/** - * Protobuf type {@code google.cloud.config.v1.GetDeploymentRequest} - */ -public final class GetDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.config.v1.GetDeploymentRequest} */ +public final class GetDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetDeploymentRequest) GetDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDeploymentRequest.newBuilder() to construct. private GetDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDeploymentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetDeploymentRequest.class, com.google.cloud.config.v1.GetDeploymentRequest.Builder.class); + com.google.cloud.config.v1.GetDeploymentRequest.class, + com.google.cloud.config.v1.GetDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the deployment. Format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 @@ -58,30 +79,32 @@ 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 name of the deployment. Format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 { @@ -90,6 +113,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -101,8 +125,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_); } @@ -126,15 +149,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.config.v1.GetDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.GetDeploymentRequest other = (com.google.cloud.config.v1.GetDeploymentRequest) obj; + com.google.cloud.config.v1.GetDeploymentRequest other = + (com.google.cloud.config.v1.GetDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -153,128 +176,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.GetDeploymentRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.GetDeploymentRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.GetDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.GetDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest 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.config.v1.GetDeploymentRequest 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; } - /** - * Protobuf type {@code google.cloud.config.v1.GetDeploymentRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.config.v1.GetDeploymentRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.GetDeploymentRequest) com.google.cloud.config.v1.GetDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetDeploymentRequest.class, com.google.cloud.config.v1.GetDeploymentRequest.Builder.class); + com.google.cloud.config.v1.GetDeploymentRequest.class, + com.google.cloud.config.v1.GetDeploymentRequest.Builder.class); } // Construct using com.google.cloud.config.v1.GetDeploymentRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +307,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; } @java.lang.Override @@ -305,8 +328,11 @@ public com.google.cloud.config.v1.GetDeploymentRequest build() { @java.lang.Override public com.google.cloud.config.v1.GetDeploymentRequest buildPartial() { - com.google.cloud.config.v1.GetDeploymentRequest result = new com.google.cloud.config.v1.GetDeploymentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.GetDeploymentRequest result = + new com.google.cloud.config.v1.GetDeploymentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -322,38 +348,39 @@ private void buildPartial0(com.google.cloud.config.v1.GetDeploymentRequest resul 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.config.v1.GetDeploymentRequest) { - return mergeFrom((com.google.cloud.config.v1.GetDeploymentRequest)other); + return mergeFrom((com.google.cloud.config.v1.GetDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -361,7 +388,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.GetDeploymentRequest other) { - if (other == com.google.cloud.config.v1.GetDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.GetDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -393,17 +421,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -413,23 +443,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment. Format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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; @@ -438,21 +473,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment. Format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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 { @@ -460,30 +498,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment. Format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the deployment. Format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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() { @@ -493,27 +542,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the deployment. Format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -523,12 +578,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetDeploymentRequest) private static final com.google.cloud.config.v1.GetDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetDeploymentRequest(); } @@ -537,27 +592,27 @@ public static com.google.cloud.config.v1.GetDeploymentRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +627,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.GetDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java new file mode 100644 index 000000000000..900d9b96214f --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface GetDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the deployment. Format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the deployment. Format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java similarity index 62% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java index c1404cbc3180..78fa11b2332d 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to get details about a preview.
  * 
* * Protobuf type {@code google.cloud.config.v1.GetPreviewRequest} */ -public final class GetPreviewRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPreviewRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetPreviewRequest) GetPreviewRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPreviewRequest.newBuilder() to construct. private GetPreviewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPreviewRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPreviewRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetPreviewRequest.class, com.google.cloud.config.v1.GetPreviewRequest.Builder.class); + com.google.cloud.config.v1.GetPreviewRequest.class, + com.google.cloud.config.v1.GetPreviewRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the preview. Format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the preview. Format:
    * 'projects/{project_id}/locations/{location}/previews/{preview}'.
    * 
* - * string 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 { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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_); } @@ -130,15 +157,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.config.v1.GetPreviewRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.GetPreviewRequest other = (com.google.cloud.config.v1.GetPreviewRequest) obj; + com.google.cloud.config.v1.GetPreviewRequest other = + (com.google.cloud.config.v1.GetPreviewRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.GetPreviewRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.GetPreviewRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetPreviewRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.GetPreviewRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.GetPreviewRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest 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.config.v1.GetPreviewRequest 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; } /** + * + * *
    * A request to get details about a preview.
    * 
* * Protobuf type {@code google.cloud.config.v1.GetPreviewRequest} */ - 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.config.v1.GetPreviewRequest) com.google.cloud.config.v1.GetPreviewRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetPreviewRequest.class, com.google.cloud.config.v1.GetPreviewRequest.Builder.class); + com.google.cloud.config.v1.GetPreviewRequest.class, + com.google.cloud.config.v1.GetPreviewRequest.Builder.class); } // Construct using com.google.cloud.config.v1.GetPreviewRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; } @java.lang.Override @@ -313,8 +344,11 @@ public com.google.cloud.config.v1.GetPreviewRequest build() { @java.lang.Override public com.google.cloud.config.v1.GetPreviewRequest buildPartial() { - com.google.cloud.config.v1.GetPreviewRequest result = new com.google.cloud.config.v1.GetPreviewRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.GetPreviewRequest result = + new com.google.cloud.config.v1.GetPreviewRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +364,39 @@ private void buildPartial0(com.google.cloud.config.v1.GetPreviewRequest result) 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.config.v1.GetPreviewRequest) { - return mergeFrom((com.google.cloud.config.v1.GetPreviewRequest)other); + return mergeFrom((com.google.cloud.config.v1.GetPreviewRequest) other); } else { super.mergeFrom(other); return this; @@ -401,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the preview. Format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * string 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; @@ -446,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the preview. Format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * string 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 { @@ -468,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the preview. Format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the preview. Format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * string 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() { @@ -501,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the preview. Format:
      * 'projects/{project_id}/locations/{location}/previews/{preview}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetPreviewRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetPreviewRequest) private static final com.google.cloud.config.v1.GetPreviewRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetPreviewRequest(); } @@ -545,27 +607,27 @@ public static com.google.cloud.config.v1.GetPreviewRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPreviewRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPreviewRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.GetPreviewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java new file mode 100644 index 000000000000..200f5365fa8e --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface GetPreviewRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetPreviewRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the preview. Format:
+   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the preview. Format:
+   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java index 7c10498984ad..8f3eb548be64 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to get a Resource from a 'GetResource' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.GetResourceRequest} */ -public final class GetResourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetResourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetResourceRequest) GetResourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetResourceRequest.newBuilder() to construct. private GetResourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetResourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetResourceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetResourceRequest.class, com.google.cloud.config.v1.GetResourceRequest.Builder.class); + com.google.cloud.config.v1.GetResourceRequest.class, + com.google.cloud.config.v1.GetResourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Resource in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the Resource in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
    * 
* - * string 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 { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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_); } @@ -130,15 +157,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.config.v1.GetResourceRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.GetResourceRequest other = (com.google.cloud.config.v1.GetResourceRequest) obj; + com.google.cloud.config.v1.GetResourceRequest other = + (com.google.cloud.config.v1.GetResourceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.GetResourceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.GetResourceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetResourceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.GetResourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.GetResourceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest 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.config.v1.GetResourceRequest 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; } /** + * + * *
    * A request to get a Resource from a 'GetResource' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.GetResourceRequest} */ - 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.config.v1.GetResourceRequest) com.google.cloud.config.v1.GetResourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetResourceRequest.class, com.google.cloud.config.v1.GetResourceRequest.Builder.class); + com.google.cloud.config.v1.GetResourceRequest.class, + com.google.cloud.config.v1.GetResourceRequest.Builder.class); } // Construct using com.google.cloud.config.v1.GetResourceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; } @java.lang.Override @@ -313,8 +344,11 @@ public com.google.cloud.config.v1.GetResourceRequest build() { @java.lang.Override public com.google.cloud.config.v1.GetResourceRequest buildPartial() { - com.google.cloud.config.v1.GetResourceRequest result = new com.google.cloud.config.v1.GetResourceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.GetResourceRequest result = + new com.google.cloud.config.v1.GetResourceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +364,39 @@ private void buildPartial0(com.google.cloud.config.v1.GetResourceRequest result) 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.config.v1.GetResourceRequest) { - return mergeFrom((com.google.cloud.config.v1.GetResourceRequest)other); + return mergeFrom((com.google.cloud.config.v1.GetResourceRequest) other); } else { super.mergeFrom(other); return this; @@ -401,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Resource in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
      * 
* - * string 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; @@ -446,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Resource in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
      * 
* - * string 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 { @@ -468,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Resource in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Resource in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
      * 
* - * string 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() { @@ -501,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Resource in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetResourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetResourceRequest) private static final com.google.cloud.config.v1.GetResourceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetResourceRequest(); } @@ -545,27 +607,27 @@ public static com.google.cloud.config.v1.GetResourceRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetResourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetResourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.GetResourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java new file mode 100644 index 000000000000..6d0d80a8e7c0 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface GetResourceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetResourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Resource in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Resource in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java index ec8405869dc6..ccf92a533272 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to get a Revision from a 'GetRevision' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.GetRevisionRequest} */ -public final class GetRevisionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRevisionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetRevisionRequest) GetRevisionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRevisionRequest.newBuilder() to construct. private GetRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRevisionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRevisionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetRevisionRequest.class, com.google.cloud.config.v1.GetRevisionRequest.Builder.class); + com.google.cloud.config.v1.GetRevisionRequest.class, + com.google.cloud.config.v1.GetRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Revision in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the Revision in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * string 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 { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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_); } @@ -130,15 +157,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.config.v1.GetRevisionRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.GetRevisionRequest other = (com.google.cloud.config.v1.GetRevisionRequest) obj; + com.google.cloud.config.v1.GetRevisionRequest other = + (com.google.cloud.config.v1.GetRevisionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.GetRevisionRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.GetRevisionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.GetRevisionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.GetRevisionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest 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.config.v1.GetRevisionRequest 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; } /** + * + * *
    * A request to get a Revision from a 'GetRevision' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.GetRevisionRequest} */ - 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.config.v1.GetRevisionRequest) com.google.cloud.config.v1.GetRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetRevisionRequest.class, com.google.cloud.config.v1.GetRevisionRequest.Builder.class); + com.google.cloud.config.v1.GetRevisionRequest.class, + com.google.cloud.config.v1.GetRevisionRequest.Builder.class); } // Construct using com.google.cloud.config.v1.GetRevisionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; } @java.lang.Override @@ -313,8 +344,11 @@ public com.google.cloud.config.v1.GetRevisionRequest build() { @java.lang.Override public com.google.cloud.config.v1.GetRevisionRequest buildPartial() { - com.google.cloud.config.v1.GetRevisionRequest result = new com.google.cloud.config.v1.GetRevisionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.GetRevisionRequest result = + new com.google.cloud.config.v1.GetRevisionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +364,39 @@ private void buildPartial0(com.google.cloud.config.v1.GetRevisionRequest result) 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.config.v1.GetRevisionRequest) { - return mergeFrom((com.google.cloud.config.v1.GetRevisionRequest)other); + return mergeFrom((com.google.cloud.config.v1.GetRevisionRequest) other); } else { super.mergeFrom(other); return this; @@ -401,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Revision in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * string 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; @@ -446,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Revision in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * string 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 { @@ -468,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Revision in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Revision in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * string 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() { @@ -501,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Revision in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetRevisionRequest) private static final com.google.cloud.config.v1.GetRevisionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetRevisionRequest(); } @@ -545,27 +607,27 @@ public static com.google.cloud.config.v1.GetRevisionRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.GetRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java new file mode 100644 index 000000000000..4d41982ec299 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface GetRevisionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Revision in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Revision in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java similarity index 62% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java index 4d383dbe54dd..13131a587a51 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * The request message for the GetTerraformVersion method.
  * 
* * Protobuf type {@code google.cloud.config.v1.GetTerraformVersionRequest} */ -public final class GetTerraformVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTerraformVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetTerraformVersionRequest) GetTerraformVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTerraformVersionRequest.newBuilder() to construct. private GetTerraformVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTerraformVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTerraformVersionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetTerraformVersionRequest.class, com.google.cloud.config.v1.GetTerraformVersionRequest.Builder.class); + com.google.cloud.config.v1.GetTerraformVersionRequest.class, + com.google.cloud.config.v1.GetTerraformVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the TerraformVersion. Format:
    * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the TerraformVersion. Format:
    * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
    * 
* - * string 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 { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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_); } @@ -130,15 +157,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.config.v1.GetTerraformVersionRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.GetTerraformVersionRequest other = (com.google.cloud.config.v1.GetTerraformVersionRequest) obj; + com.google.cloud.config.v1.GetTerraformVersionRequest other = + (com.google.cloud.config.v1.GetTerraformVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,131 +185,136 @@ public int hashCode() { } public static com.google.cloud.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetTerraformVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.GetTerraformVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.GetTerraformVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.GetTerraformVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.GetTerraformVersionRequest 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; } /** + * + * *
    * The request message for the GetTerraformVersion method.
    * 
* * Protobuf type {@code google.cloud.config.v1.GetTerraformVersionRequest} */ - 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.config.v1.GetTerraformVersionRequest) com.google.cloud.config.v1.GetTerraformVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GetTerraformVersionRequest.class, com.google.cloud.config.v1.GetTerraformVersionRequest.Builder.class); + com.google.cloud.config.v1.GetTerraformVersionRequest.class, + com.google.cloud.config.v1.GetTerraformVersionRequest.Builder.class); } // Construct using com.google.cloud.config.v1.GetTerraformVersionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; } @java.lang.Override @@ -313,8 +345,11 @@ public com.google.cloud.config.v1.GetTerraformVersionRequest build() { @java.lang.Override public com.google.cloud.config.v1.GetTerraformVersionRequest buildPartial() { - com.google.cloud.config.v1.GetTerraformVersionRequest result = new com.google.cloud.config.v1.GetTerraformVersionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.GetTerraformVersionRequest result = + new com.google.cloud.config.v1.GetTerraformVersionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +365,39 @@ private void buildPartial0(com.google.cloud.config.v1.GetTerraformVersionRequest 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.config.v1.GetTerraformVersionRequest) { - return mergeFrom((com.google.cloud.config.v1.GetTerraformVersionRequest)other); + return mergeFrom((com.google.cloud.config.v1.GetTerraformVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.GetTerraformVersionRequest other) { - if (other == com.google.cloud.config.v1.GetTerraformVersionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.GetTerraformVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +438,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +460,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the TerraformVersion. Format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
      * 
* - * string 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; @@ -446,21 +490,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the TerraformVersion. Format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
      * 
* - * string 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 { @@ -468,30 +515,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the TerraformVersion. Format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the TerraformVersion. Format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
      * 
* - * string 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() { @@ -501,27 +559,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the TerraformVersion. Format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetTerraformVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetTerraformVersionRequest) private static final com.google.cloud.config.v1.GetTerraformVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetTerraformVersionRequest(); } @@ -545,27 +609,27 @@ public static com.google.cloud.config.v1.GetTerraformVersionRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTerraformVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTerraformVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +644,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.config.v1.GetTerraformVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java new file mode 100644 index 000000000000..46be5e00b24d --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface GetTerraformVersionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetTerraformVersionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the TerraformVersion. Format:
+   * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the TerraformVersion. Format:
+   * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java similarity index 71% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java index db853f88aeee..aadc8e37b8c2 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * A set of files in a Git repository.
  * 
* * Protobuf type {@code google.cloud.config.v1.GitSource} */ -public final class GitSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GitSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GitSource) GitSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GitSource.newBuilder() to construct. private GitSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GitSource() { repo_ = ""; directory_ = ""; @@ -28,35 +46,40 @@ private GitSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GitSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GitSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GitSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GitSource.class, com.google.cloud.config.v1.GitSource.Builder.class); + com.google.cloud.config.v1.GitSource.class, + com.google.cloud.config.v1.GitSource.Builder.class); } private int bitField0_; public static final int REPO_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object repo_ = ""; /** + * + * *
    * Optional. Repository URL.
    * Example: 'https://github.com/kubernetes/examples.git'
    * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the repo field is set. */ @java.lang.Override @@ -64,12 +87,15 @@ public boolean hasRepo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Optional. Repository URL.
    * Example: 'https://github.com/kubernetes/examples.git'
    * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The repo. */ @java.lang.Override @@ -78,30 +104,30 @@ public java.lang.String getRepo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repo_ = s; return s; } } /** + * + * *
    * Optional. Repository URL.
    * Example: 'https://github.com/kubernetes/examples.git'
    * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for repo. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepoBytes() { + public com.google.protobuf.ByteString getRepoBytes() { java.lang.Object ref = repo_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repo_ = b; return b; } else { @@ -110,15 +136,19 @@ public java.lang.String getRepo() { } public static final int DIRECTORY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object directory_ = ""; /** + * + * *
    * Optional. Subdirectory inside the repository.
    * Example: 'staging/my-package'
    * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the directory field is set. */ @java.lang.Override @@ -126,12 +156,15 @@ public boolean hasDirectory() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Optional. Subdirectory inside the repository.
    * Example: 'staging/my-package'
    * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The directory. */ @java.lang.Override @@ -140,30 +173,30 @@ 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(); directory_ = s; return s; } } /** + * + * *
    * Optional. Subdirectory inside the repository.
    * Example: 'staging/my-package'
    * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for directory. */ @java.lang.Override - public com.google.protobuf.ByteString - getDirectoryBytes() { + public com.google.protobuf.ByteString getDirectoryBytes() { java.lang.Object ref = directory_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); directory_ = b; return b; } else { @@ -172,14 +205,18 @@ public java.lang.String getDirectory() { } public static final int REF_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ref_ = ""; /** + * + * *
    * Optional. Git reference (e.g. branch or tag).
    * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the ref field is set. */ @java.lang.Override @@ -187,11 +224,14 @@ public boolean hasRef() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Optional. Git reference (e.g. branch or tag).
    * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ref. */ @java.lang.Override @@ -200,29 +240,29 @@ public java.lang.String getRef() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ref_ = s; return s; } } /** + * + * *
    * Optional. Git reference (e.g. branch or tag).
    * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for ref. */ @java.lang.Override - public com.google.protobuf.ByteString - getRefBytes() { + public com.google.protobuf.ByteString getRefBytes() { java.lang.Object ref = ref_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ref_ = b; return b; } else { @@ -231,6 +271,7 @@ public java.lang.String getRef() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,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 { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, repo_); } @@ -279,7 +319,7 @@ 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.config.v1.GitSource)) { return super.equals(obj); @@ -288,18 +328,15 @@ public boolean equals(final java.lang.Object obj) { if (hasRepo() != other.hasRepo()) return false; if (hasRepo()) { - if (!getRepo() - .equals(other.getRepo())) return false; + if (!getRepo().equals(other.getRepo())) return false; } if (hasDirectory() != other.hasDirectory()) return false; if (hasDirectory()) { - if (!getDirectory() - .equals(other.getDirectory())) return false; + if (!getDirectory().equals(other.getDirectory())) return false; } if (hasRef() != other.hasRef()) return false; if (hasRef()) { - if (!getRef() - .equals(other.getRef())) return false; + if (!getRef().equals(other.getRef())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -329,132 +366,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.GitSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.GitSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GitSource 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.config.v1.GitSource parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.GitSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GitSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.GitSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.GitSource 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.config.v1.GitSource 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.config.v1.GitSource 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.config.v1.GitSource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.GitSource 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.config.v1.GitSource 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.config.v1.GitSource 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.config.v1.GitSource 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; } /** + * + * *
    * A set of files in a Git repository.
    * 
* * Protobuf type {@code google.cloud.config.v1.GitSource} */ - 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.config.v1.GitSource) com.google.cloud.config.v1.GitSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GitSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GitSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.GitSource.class, com.google.cloud.config.v1.GitSource.Builder.class); + com.google.cloud.config.v1.GitSource.class, + com.google.cloud.config.v1.GitSource.Builder.class); } // Construct using com.google.cloud.config.v1.GitSource.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_GitSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GitSource_descriptor; } @java.lang.Override @@ -488,7 +528,9 @@ public com.google.cloud.config.v1.GitSource build() { @java.lang.Override public com.google.cloud.config.v1.GitSource buildPartial() { com.google.cloud.config.v1.GitSource result = new com.google.cloud.config.v1.GitSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -515,38 +557,39 @@ private void buildPartial0(com.google.cloud.config.v1.GitSource result) { 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.config.v1.GitSource) { - return mergeFrom((com.google.cloud.config.v1.GitSource)other); + return mergeFrom((com.google.cloud.config.v1.GitSource) other); } else { super.mergeFrom(other); return this; @@ -596,27 +639,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - repo_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - directory_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - ref_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + repo_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + directory_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + ref_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -626,35 +673,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object repo_ = ""; /** + * + * *
      * Optional. Repository URL.
      * Example: 'https://github.com/kubernetes/examples.git'
      * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the repo field is set. */ public boolean hasRepo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Repository URL.
      * Example: 'https://github.com/kubernetes/examples.git'
      * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The repo. */ public java.lang.String getRepo() { java.lang.Object ref = repo_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repo_ = s; return s; @@ -663,21 +716,22 @@ public java.lang.String getRepo() { } } /** + * + * *
      * Optional. Repository URL.
      * Example: 'https://github.com/kubernetes/examples.git'
      * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for repo. */ - public com.google.protobuf.ByteString - getRepoBytes() { + public com.google.protobuf.ByteString getRepoBytes() { java.lang.Object ref = repo_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repo_ = b; return b; } else { @@ -685,30 +739,37 @@ public java.lang.String getRepo() { } } /** + * + * *
      * Optional. Repository URL.
      * Example: 'https://github.com/kubernetes/examples.git'
      * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The repo to set. * @return This builder for chaining. */ - public Builder setRepo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRepo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } repo_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. Repository URL.
      * Example: 'https://github.com/kubernetes/examples.git'
      * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRepo() { @@ -718,18 +779,22 @@ public Builder clearRepo() { return this; } /** + * + * *
      * Optional. Repository URL.
      * Example: 'https://github.com/kubernetes/examples.git'
      * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for repo to set. * @return This builder for chaining. */ - public Builder setRepoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRepoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); repo_ = value; bitField0_ |= 0x00000001; @@ -739,31 +804,36 @@ public Builder setRepoBytes( private java.lang.Object directory_ = ""; /** + * + * *
      * Optional. Subdirectory inside the repository.
      * Example: 'staging/my-package'
      * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the directory field is set. */ public boolean hasDirectory() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. Subdirectory inside the repository.
      * Example: 'staging/my-package'
      * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The directory. */ public java.lang.String getDirectory() { java.lang.Object ref = directory_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); directory_ = s; return s; @@ -772,21 +842,22 @@ public java.lang.String getDirectory() { } } /** + * + * *
      * Optional. Subdirectory inside the repository.
      * Example: 'staging/my-package'
      * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for directory. */ - public com.google.protobuf.ByteString - getDirectoryBytes() { + public com.google.protobuf.ByteString getDirectoryBytes() { java.lang.Object ref = directory_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); directory_ = b; return b; } else { @@ -794,30 +865,37 @@ public java.lang.String getDirectory() { } } /** + * + * *
      * Optional. Subdirectory inside the repository.
      * Example: 'staging/my-package'
      * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The directory to set. * @return This builder for chaining. */ - public Builder setDirectory( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirectory(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } directory_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Subdirectory inside the repository.
      * Example: 'staging/my-package'
      * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDirectory() { @@ -827,18 +905,22 @@ public Builder clearDirectory() { return this; } /** + * + * *
      * Optional. Subdirectory inside the repository.
      * Example: 'staging/my-package'
      * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @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(); } + public Builder setDirectoryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); directory_ = value; bitField0_ |= 0x00000002; @@ -848,29 +930,34 @@ public Builder setDirectoryBytes( private java.lang.Object ref_ = ""; /** + * + * *
      * Optional. Git reference (e.g. branch or tag).
      * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the ref field is set. */ public boolean hasRef() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. Git reference (e.g. branch or tag).
      * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ref. */ public java.lang.String getRef() { java.lang.Object ref = ref_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ref_ = s; return s; @@ -879,20 +966,21 @@ public java.lang.String getRef() { } } /** + * + * *
      * Optional. Git reference (e.g. branch or tag).
      * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for ref. */ - public com.google.protobuf.ByteString - getRefBytes() { + public com.google.protobuf.ByteString getRefBytes() { java.lang.Object ref = ref_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ref_ = b; return b; } else { @@ -900,28 +988,35 @@ public java.lang.String getRef() { } } /** + * + * *
      * Optional. Git reference (e.g. branch or tag).
      * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The ref to set. * @return This builder for chaining. */ - public Builder setRef( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRef(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ref_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Git reference (e.g. branch or tag).
      * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRef() { @@ -931,26 +1026,30 @@ public Builder clearRef() { return this; } /** + * + * *
      * Optional. Git reference (e.g. branch or tag).
      * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for ref to set. * @return This builder for chaining. */ - public Builder setRefBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRefBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ref_ = value; bitField0_ |= 0x00000004; 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); } @@ -960,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GitSource) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GitSource) private static final com.google.cloud.config.v1.GitSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.GitSource(); } @@ -974,27 +1073,27 @@ public static com.google.cloud.config.v1.GitSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GitSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GitSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1009,6 +1108,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.GitSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java index 577e05af2429..054a484dfeba 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GitSourceOrBuilder.java @@ -1,103 +1,143 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface GitSourceOrBuilder extends +public interface GitSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GitSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Repository URL.
    * Example: 'https://github.com/kubernetes/examples.git'
    * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the repo field is set. */ boolean hasRepo(); /** + * + * *
    * Optional. Repository URL.
    * Example: 'https://github.com/kubernetes/examples.git'
    * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The repo. */ java.lang.String getRepo(); /** + * + * *
    * Optional. Repository URL.
    * Example: 'https://github.com/kubernetes/examples.git'
    * 
* * optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for repo. */ - com.google.protobuf.ByteString - getRepoBytes(); + com.google.protobuf.ByteString getRepoBytes(); /** + * + * *
    * Optional. Subdirectory inside the repository.
    * Example: 'staging/my-package'
    * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the directory field is set. */ boolean hasDirectory(); /** + * + * *
    * Optional. Subdirectory inside the repository.
    * Example: 'staging/my-package'
    * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The directory. */ java.lang.String getDirectory(); /** + * + * *
    * Optional. Subdirectory inside the repository.
    * Example: 'staging/my-package'
    * 
* * optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for directory. */ - com.google.protobuf.ByteString - getDirectoryBytes(); + com.google.protobuf.ByteString getDirectoryBytes(); /** + * + * *
    * Optional. Git reference (e.g. branch or tag).
    * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the ref field is set. */ boolean hasRef(); /** + * + * *
    * Optional. Git reference (e.g. branch or tag).
    * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ref. */ java.lang.String getRef(); /** + * + * *
    * Optional. Git reference (e.g. branch or tag).
    * 
* * optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for ref. */ - com.google.protobuf.ByteString - getRefBytes(); + com.google.protobuf.ByteString getRefBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java similarity index 66% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java index af9d676b2eb6..827a07c672c8 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,56 +20,66 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to import a state file passed to a 'ImportStatefile' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.ImportStatefileRequest} */ -public final class ImportStatefileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportStatefileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ImportStatefileRequest) ImportStatefileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportStatefileRequest.newBuilder() to construct. private ImportStatefileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportStatefileRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportStatefileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ImportStatefileRequest.class, com.google.cloud.config.v1.ImportStatefileRequest.Builder.class); + com.google.cloud.config.v1.ImportStatefileRequest.class, + com.google.cloud.config.v1.ImportStatefileRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 @@ -63,31 +88,33 @@ 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 in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 { @@ -98,12 +125,15 @@ public java.lang.String getParent() { public static final int LOCK_ID_FIELD_NUMBER = 2; private long lockId_ = 0L; /** + * + * *
    * Required. Lock ID of the lock file to verify that the user who is importing
    * the state file previously locked the Deployment.
    * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ @java.lang.Override @@ -114,11 +144,14 @@ public long getLockId() { public static final int SKIP_DRAFT_FIELD_NUMBER = 3; private boolean skipDraft_ = false; /** + * + * *
    * Optional.
    * 
* * bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The skipDraft. */ @java.lang.Override @@ -127,6 +160,7 @@ public boolean getSkipDraft() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +172,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_); } @@ -162,12 +195,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (lockId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, lockId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, lockId_); } if (skipDraft_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, skipDraft_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, skipDraft_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +208,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.config.v1.ImportStatefileRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ImportStatefileRequest other = (com.google.cloud.config.v1.ImportStatefileRequest) obj; + com.google.cloud.config.v1.ImportStatefileRequest other = + (com.google.cloud.config.v1.ImportStatefileRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getLockId() - != other.getLockId()) return false; - if (getSkipDraft() - != other.getSkipDraft()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getLockId() != other.getLockId()) return false; + if (getSkipDraft() != other.getSkipDraft()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -204,142 +233,144 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + LOCK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLockId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLockId()); hash = (37 * hash) + SKIP_DRAFT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSkipDraft()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSkipDraft()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ImportStatefileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ImportStatefileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ImportStatefileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ImportStatefileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest 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.config.v1.ImportStatefileRequest 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; } /** + * + * *
    * A request to import a state file passed to a 'ImportStatefile' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.ImportStatefileRequest} */ - 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.config.v1.ImportStatefileRequest) com.google.cloud.config.v1.ImportStatefileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ImportStatefileRequest.class, com.google.cloud.config.v1.ImportStatefileRequest.Builder.class); + com.google.cloud.config.v1.ImportStatefileRequest.class, + com.google.cloud.config.v1.ImportStatefileRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ImportStatefileRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; } @java.lang.Override @@ -372,8 +403,11 @@ public com.google.cloud.config.v1.ImportStatefileRequest build() { @java.lang.Override public com.google.cloud.config.v1.ImportStatefileRequest buildPartial() { - com.google.cloud.config.v1.ImportStatefileRequest result = new com.google.cloud.config.v1.ImportStatefileRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ImportStatefileRequest result = + new com.google.cloud.config.v1.ImportStatefileRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +429,39 @@ private void buildPartial0(com.google.cloud.config.v1.ImportStatefileRequest res 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.config.v1.ImportStatefileRequest) { - return mergeFrom((com.google.cloud.config.v1.ImportStatefileRequest)other); + return mergeFrom((com.google.cloud.config.v1.ImportStatefileRequest) other); } else { super.mergeFrom(other); return this; @@ -434,7 +469,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ImportStatefileRequest other) { - if (other == com.google.cloud.config.v1.ImportStatefileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ImportStatefileRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -472,27 +508,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - lockId_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - skipDraft_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + lockId_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + skipDraft_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,24 +542,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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; @@ -528,22 +573,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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 { @@ -551,32 +599,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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() { @@ -586,19 +645,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the statefile is listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -606,14 +671,17 @@ public Builder setParentBytes( return this; } - private long lockId_ ; + private long lockId_; /** + * + * *
      * Required. Lock ID of the lock file to verify that the user who is importing
      * the state file previously locked the Deployment.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ @java.lang.Override @@ -621,12 +689,15 @@ public long getLockId() { return lockId_; } /** + * + * *
      * Required. Lock ID of the lock file to verify that the user who is importing
      * the state file previously locked the Deployment.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The lockId to set. * @return This builder for chaining. */ @@ -638,12 +709,15 @@ public Builder setLockId(long value) { return this; } /** + * + * *
      * Required. Lock ID of the lock file to verify that the user who is importing
      * the state file previously locked the Deployment.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLockId() { @@ -653,13 +727,16 @@ public Builder clearLockId() { return this; } - private boolean skipDraft_ ; + private boolean skipDraft_; /** + * + * *
      * Optional.
      * 
* * bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The skipDraft. */ @java.lang.Override @@ -667,11 +744,14 @@ public boolean getSkipDraft() { return skipDraft_; } /** + * + * *
      * Optional.
      * 
* * bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The skipDraft to set. * @return This builder for chaining. */ @@ -683,11 +763,14 @@ public Builder setSkipDraft(boolean value) { return this; } /** + * + * *
      * Optional.
      * 
* * bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSkipDraft() { @@ -696,9 +779,9 @@ public Builder clearSkipDraft() { 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); } @@ -708,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ImportStatefileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ImportStatefileRequest) private static final com.google.cloud.config.v1.ImportStatefileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ImportStatefileRequest(); } @@ -722,27 +805,27 @@ public static com.google.cloud.config.v1.ImportStatefileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportStatefileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportStatefileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +840,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ImportStatefileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java index 0e6c3a4c6f94..c45c4b75a7e6 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ImportStatefileRequestOrBuilder.java @@ -1,54 +1,85 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ImportStatefileRequestOrBuilder extends +public interface ImportStatefileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ImportStatefileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 in whose context the statefile is listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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. Lock ID of the lock file to verify that the user who is importing
    * the state file previously locked the Deployment.
    * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ long getLockId(); /** + * + * *
    * Optional.
    * 
* * bool skip_draft = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The skipDraft. */ boolean getSkipDraft(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java index 82bdcb94467f..ad1eaa90deb4 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequest.java @@ -1,21 +1,35 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -/** - * Protobuf type {@code google.cloud.config.v1.ListDeploymentsRequest} - */ -public final class ListDeploymentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.config.v1.ListDeploymentsRequest} */ +public final class ListDeploymentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListDeploymentsRequest) ListDeploymentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeploymentsRequest.newBuilder() to construct. private ListDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -25,35 +39,42 @@ private ListDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeploymentsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListDeploymentsRequest.class, com.google.cloud.config.v1.ListDeploymentsRequest.Builder.class); + com.google.cloud.config.v1.ListDeploymentsRequest.class, + com.google.cloud.config.v1.ListDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the Deployments are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 @@ -62,31 +83,33 @@ 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 in whose context the Deployments are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 { @@ -97,6 +120,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * When requesting a page of resources, 'page_size' specifies number of
    * resources to return. If unspecified, at most 500 will be returned. The
@@ -104,6 +129,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -112,15 +138,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Token returned by previous call to 'ListDeployments' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,30 +159,30 @@ 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; } } /** + * + * *
    * Token returned by previous call to 'ListDeployments' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @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 { @@ -161,9 +191,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -189,6 +222,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ 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; } } /** + * + * *
    * Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -230,16 +265,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @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 { @@ -248,14 +282,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -264,29 +302,29 @@ 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; } } /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @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 { @@ -295,6 +333,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,8 +345,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_); } @@ -336,8 +374,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_); @@ -356,23 +393,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.config.v1.ListDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ListDeploymentsRequest other = (com.google.cloud.config.v1.ListDeploymentsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.config.v1.ListDeploymentsRequest other = + (com.google.cloud.config.v1.ListDeploymentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -400,127 +433,127 @@ public int hashCode() { } public static com.google.cloud.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListDeploymentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ListDeploymentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListDeploymentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest 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.config.v1.ListDeploymentsRequest 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; } - /** - * Protobuf type {@code google.cloud.config.v1.ListDeploymentsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.config.v1.ListDeploymentsRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ListDeploymentsRequest) com.google.cloud.config.v1.ListDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListDeploymentsRequest.class, com.google.cloud.config.v1.ListDeploymentsRequest.Builder.class); + com.google.cloud.config.v1.ListDeploymentsRequest.class, + com.google.cloud.config.v1.ListDeploymentsRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ListDeploymentsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override @@ -555,8 +588,11 @@ public com.google.cloud.config.v1.ListDeploymentsRequest build() { @java.lang.Override public com.google.cloud.config.v1.ListDeploymentsRequest buildPartial() { - com.google.cloud.config.v1.ListDeploymentsRequest result = new com.google.cloud.config.v1.ListDeploymentsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ListDeploymentsRequest result = + new com.google.cloud.config.v1.ListDeploymentsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -584,38 +620,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListDeploymentsRequest res 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.config.v1.ListDeploymentsRequest) { - return mergeFrom((com.google.cloud.config.v1.ListDeploymentsRequest)other); + return mergeFrom((com.google.cloud.config.v1.ListDeploymentsRequest) other); } else { super.mergeFrom(other); return this; @@ -623,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListDeploymentsRequest other) { - if (other == com.google.cloud.config.v1.ListDeploymentsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListDeploymentsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -673,37 +711,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -713,24 +757,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the Deployments are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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; @@ -739,22 +788,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Deployments are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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 { @@ -762,32 +814,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Deployments are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the Deployments are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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() { @@ -797,19 +860,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the Deployments are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -817,8 +886,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * When requesting a page of resources, 'page_size' specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -826,6 +897,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -833,6 +905,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * When requesting a page of resources, 'page_size' specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -840,6 +914,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -851,6 +926,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * When requesting a page of resources, 'page_size' specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -858,6 +935,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -869,19 +947,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Token returned by previous call to 'ListDeployments' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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; @@ -890,21 +970,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token returned by previous call to 'ListDeployments' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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 { @@ -912,30 +993,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token returned by previous call to 'ListDeployments' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Token returned by previous call to 'ListDeployments' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -945,18 +1033,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Token returned by previous call to 'ListDeployments' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -966,6 +1058,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -991,13 +1085,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @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; @@ -1006,6 +1100,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1031,15 +1127,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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 { @@ -1047,6 +1142,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1072,18 +1169,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1109,6 +1210,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1118,6 +1220,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1143,12 +1247,14 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @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(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1158,18 +1264,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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; @@ -1178,20 +1286,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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 { @@ -1199,28 +1308,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1230,26 +1346,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1259,12 +1379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListDeploymentsRequest) private static final com.google.cloud.config.v1.ListDeploymentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListDeploymentsRequest(); } @@ -1273,27 +1393,27 @@ public static com.google.cloud.config.v1.ListDeploymentsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,6 +1428,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java index 94e72aae1281..7d1f029d6e7f 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListDeploymentsRequestOrBuilder extends +public interface ListDeploymentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the Deployments are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 in whose context the Deployments are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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(); /** + * + * *
    * When requesting a page of resources, 'page_size' specifies number of
    * resources to return. If unspecified, at most 500 will be returned. The
@@ -40,33 +67,41 @@ public interface ListDeploymentsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Token returned by previous call to 'ListDeployments' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Token returned by previous call to 'ListDeployments' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -92,10 +127,13 @@ public interface ListDeploymentsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -121,28 +159,33 @@ public interface ListDeploymentsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java index 6994a4c6ba2b..e6d2c6455908 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponse.java @@ -1,52 +1,69 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -/** - * Protobuf type {@code google.cloud.config.v1.ListDeploymentsResponse} - */ -public final class ListDeploymentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.config.v1.ListDeploymentsResponse} */ +public final class ListDeploymentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListDeploymentsResponse) ListDeploymentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeploymentsResponse.newBuilder() to construct. private ListDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeploymentsResponse() { deployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeploymentsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListDeploymentsResponse.class, com.google.cloud.config.v1.ListDeploymentsResponse.Builder.class); + com.google.cloud.config.v1.ListDeploymentsResponse.class, + com.google.cloud.config.v1.ListDeploymentsResponse.Builder.class); } public static final int DEPLOYMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List deployments_; /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -58,6 +75,8 @@ public java.util.List getDeploymentsList( return deployments_; } /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -65,11 +84,13 @@ public java.util.List getDeploymentsList( * repeated .google.cloud.config.v1.Deployment deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDeploymentsOrBuilderList() { return deployments_; } /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -81,6 +102,8 @@ public int getDeploymentsCount() { return deployments_.size(); } /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -92,6 +115,8 @@ public com.google.cloud.config.v1.Deployment getDeployments(int index) { return deployments_.get(index); } /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -99,21 +124,24 @@ public com.google.cloud.config.v1.Deployment getDeployments(int index) { * repeated .google.cloud.config.v1.Deployment deployments = 1; */ @java.lang.Override - public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder( - int index) { + public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index) { return deployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to be supplied to the next ListDeployments request via `page_token`
    * to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -122,30 +150,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; } } /** + * + * *
    * Token to be supplied to the next ListDeployments request via `page_token`
    * to obtain the next set of results.
    * 
* * 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 { @@ -154,38 +182,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that 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 that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -193,20 +230,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that 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; @@ -218,8 +258,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 < deployments_.size(); i++) { output.writeMessage(1, deployments_.get(i)); } @@ -239,8 +278,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, deployments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, deployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -261,19 +299,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.config.v1.ListDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.config.v1.ListDeploymentsResponse other = (com.google.cloud.config.v1.ListDeploymentsResponse) obj; + com.google.cloud.config.v1.ListDeploymentsResponse other = + (com.google.cloud.config.v1.ListDeploymentsResponse) obj; - if (!getDeploymentsList() - .equals(other.getDeploymentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getDeploymentsList().equals(other.getDeploymentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,127 +337,127 @@ public int hashCode() { } public static com.google.cloud.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListDeploymentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ListDeploymentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListDeploymentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse 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.config.v1.ListDeploymentsResponse 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; } - /** - * Protobuf type {@code google.cloud.config.v1.ListDeploymentsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.config.v1.ListDeploymentsResponse} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ListDeploymentsResponse) com.google.cloud.config.v1.ListDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListDeploymentsResponse.class, com.google.cloud.config.v1.ListDeploymentsResponse.Builder.class); + com.google.cloud.config.v1.ListDeploymentsResponse.class, + com.google.cloud.config.v1.ListDeploymentsResponse.Builder.class); } // Construct using com.google.cloud.config.v1.ListDeploymentsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,15 +470,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override @@ -461,14 +496,18 @@ public com.google.cloud.config.v1.ListDeploymentsResponse build() { @java.lang.Override public com.google.cloud.config.v1.ListDeploymentsResponse buildPartial() { - com.google.cloud.config.v1.ListDeploymentsResponse result = new com.google.cloud.config.v1.ListDeploymentsResponse(this); + com.google.cloud.config.v1.ListDeploymentsResponse result = + new com.google.cloud.config.v1.ListDeploymentsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.config.v1.ListDeploymentsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListDeploymentsResponse result) { if (deploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { deployments_ = java.util.Collections.unmodifiableList(deployments_); @@ -495,38 +534,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListDeploymentsResponse re 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.config.v1.ListDeploymentsResponse) { - return mergeFrom((com.google.cloud.config.v1.ListDeploymentsResponse)other); + return mergeFrom((com.google.cloud.config.v1.ListDeploymentsResponse) other); } else { super.mergeFrom(other); return this; @@ -534,7 +574,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListDeploymentsResponse other) { - if (other == com.google.cloud.config.v1.ListDeploymentsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListDeploymentsResponse.getDefaultInstance()) + return this; if (deploymentsBuilder_ == null) { if (!other.deployments_.isEmpty()) { if (deployments_.isEmpty()) { @@ -553,9 +594,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.ListDeploymentsResponse othe deploymentsBuilder_ = null; deployments_ = other.deployments_; bitField0_ = (bitField0_ & ~0x00000001); - deploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeploymentsFieldBuilder() : null; + deploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeploymentsFieldBuilder() + : null; } else { deploymentsBuilder_.addAllMessages(other.deployments_); } @@ -602,36 +644,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.config.v1.Deployment m = - input.readMessage( - com.google.cloud.config.v1.Deployment.parser(), - extensionRegistry); - if (deploymentsBuilder_ == null) { - ensureDeploymentsIsMutable(); - deployments_.add(m); - } else { - deploymentsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.config.v1.Deployment m = + input.readMessage( + com.google.cloud.config.v1.Deployment.parser(), extensionRegistry); + if (deploymentsBuilder_ == null) { + ensureDeploymentsIsMutable(); + deployments_.add(m); + } else { + deploymentsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -641,21 +686,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List deployments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { deployments_ = new java.util.ArrayList(deployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder> deploymentsBuilder_; + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> + deploymentsBuilder_; /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -670,6 +722,8 @@ public java.util.List getDeploymentsList( } } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -684,6 +738,8 @@ public int getDeploymentsCount() { } } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -698,14 +754,15 @@ public com.google.cloud.config.v1.Deployment getDeployments(int index) { } } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public Builder setDeployments( - int index, com.google.cloud.config.v1.Deployment value) { + public Builder setDeployments(int index, com.google.cloud.config.v1.Deployment value) { if (deploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,6 +776,8 @@ public Builder setDeployments( return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -737,6 +796,8 @@ public Builder setDeployments( return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -757,14 +818,15 @@ public Builder addDeployments(com.google.cloud.config.v1.Deployment value) { return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public Builder addDeployments( - int index, com.google.cloud.config.v1.Deployment value) { + public Builder addDeployments(int index, com.google.cloud.config.v1.Deployment value) { if (deploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,14 +840,15 @@ public Builder addDeployments( return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public Builder addDeployments( - com.google.cloud.config.v1.Deployment.Builder builderForValue) { + public Builder addDeployments(com.google.cloud.config.v1.Deployment.Builder builderForValue) { if (deploymentsBuilder_ == null) { ensureDeploymentsIsMutable(); deployments_.add(builderForValue.build()); @@ -796,6 +859,8 @@ public Builder addDeployments( return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -814,6 +879,8 @@ public Builder addDeployments( return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -824,8 +891,7 @@ public Builder addAllDeployments( java.lang.Iterable values) { if (deploymentsBuilder_ == null) { ensureDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deployments_); onChanged(); } else { deploymentsBuilder_.addAllMessages(values); @@ -833,6 +899,8 @@ public Builder addAllDeployments( return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -850,6 +918,8 @@ public Builder clearDeployments() { return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -867,39 +937,44 @@ public Builder removeDeployments(int index) { return this; } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public com.google.cloud.config.v1.Deployment.Builder getDeploymentsBuilder( - int index) { + public com.google.cloud.config.v1.Deployment.Builder getDeploymentsBuilder(int index) { return getDeploymentsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder( - int index) { + public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index) { if (deploymentsBuilder_ == null) { - return deployments_.get(index); } else { + return deployments_.get(index); + } else { return deploymentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public java.util.List - getDeploymentsOrBuilderList() { + public java.util.List + getDeploymentsOrBuilderList() { if (deploymentsBuilder_ != null) { return deploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -907,6 +982,8 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder( } } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
@@ -914,42 +991,48 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder( * repeated .google.cloud.config.v1.Deployment deployments = 1; */ public com.google.cloud.config.v1.Deployment.Builder addDeploymentsBuilder() { - return getDeploymentsFieldBuilder().addBuilder( - com.google.cloud.config.v1.Deployment.getDefaultInstance()); + return getDeploymentsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.Deployment.getDefaultInstance()); } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public com.google.cloud.config.v1.Deployment.Builder addDeploymentsBuilder( - int index) { - return getDeploymentsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.Deployment.getDefaultInstance()); + public com.google.cloud.config.v1.Deployment.Builder addDeploymentsBuilder(int index) { + return getDeploymentsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.Deployment.getDefaultInstance()); } /** + * + * *
      * List of [Deployment][google.cloud.config.v1.Deployment]s.
      * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - public java.util.List - getDeploymentsBuilderList() { + public java.util.List + getDeploymentsBuilderList() { return getDeploymentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder> + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> getDeploymentsFieldBuilder() { if (deploymentsBuilder_ == null) { - deploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder>( - deployments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + deploymentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder>( + deployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); deployments_ = null; } return deploymentsBuilder_; @@ -957,19 +1040,21 @@ public com.google.cloud.config.v1.Deployment.Builder addDeploymentsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to be supplied to the next ListDeployments request via `page_token`
      * to obtain the next set of results.
      * 
* * 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; @@ -978,21 +1063,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to be supplied to the next ListDeployments request via `page_token`
      * to obtain the next set of results.
      * 
* * 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 { @@ -1000,30 +1086,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to be supplied to the next ListDeployments request via `page_token`
      * to obtain the next set of results.
      * 
* * 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(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to be supplied to the next ListDeployments request via `page_token`
      * to obtain the next set of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1033,18 +1126,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to be supplied to the next ListDeployments request via `page_token`
      * to obtain the next set of results.
      * 
* * 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(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1151,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1159,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that 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() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1203,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that 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 that 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(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1241,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1263,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1322,9 @@ public Builder addUnreachableBytes( 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); } @@ -1210,12 +1334,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListDeploymentsResponse) private static final com.google.cloud.config.v1.ListDeploymentsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListDeploymentsResponse(); } @@ -1224,27 +1348,27 @@ public static com.google.cloud.config.v1.ListDeploymentsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1383,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java index 756c1c59f329..7cdb64640e34 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListDeploymentsResponseOrBuilder extends +public interface ListDeploymentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - java.util.List - getDeploymentsList(); + java.util.List getDeploymentsList(); /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -26,6 +45,8 @@ public interface ListDeploymentsResponseOrBuilder extends */ com.google.cloud.config.v1.Deployment getDeployments(int index); /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
@@ -34,84 +55,102 @@ public interface ListDeploymentsResponseOrBuilder extends */ int getDeploymentsCount(); /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - java.util.List + java.util.List getDeploymentsOrBuilderList(); /** + * + * *
    * List of [Deployment][google.cloud.config.v1.Deployment]s.
    * 
* * repeated .google.cloud.config.v1.Deployment deployments = 1; */ - com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder( - int index); + com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index); /** + * + * *
    * Token to be supplied to the next ListDeployments request via `page_token`
    * to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to be supplied to the next ListDeployments request via `page_token`
    * to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that 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 that 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java similarity index 74% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java index e34af0e5287e..b68cf243c783 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to list all previews for a given project and location.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListPreviewsRequest} */ -public final class ListPreviewsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPreviewsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListPreviewsRequest) ListPreviewsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPreviewsRequest.newBuilder() to construct. private ListPreviewsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPreviewsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,34 +47,41 @@ private ListPreviewsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPreviewsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListPreviewsRequest.class, com.google.cloud.config.v1.ListPreviewsRequest.Builder.class); + com.google.cloud.config.v1.ListPreviewsRequest.class, + com.google.cloud.config.v1.ListPreviewsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the Previews are listed. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 @@ -65,30 +90,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 in whose context the Previews are listed. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 { @@ -99,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. When requesting a page of resources, 'page_size' specifies number
    * of resources to return. If unspecified, at most 500 will be returned. The
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Token returned by previous call to 'ListDeployments' which
    * specifies the position in the list from where to continue listing the
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,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. Token returned by previous call to 'ListDeployments' which
    * specifies the position in the list from where to continue listing the
@@ -147,16 +182,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 { @@ -165,9 +199,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -193,6 +230,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -201,14 +239,15 @@ 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. Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -234,16 +273,15 @@ public java.lang.String getFilter() {
    * 
* * 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 { @@ -252,14 +290,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to use to sort the list.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -268,29 +310,29 @@ 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. Field to use to sort the list.
    * 
* * string order_by = 5 [(.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 { @@ -299,6 +341,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,8 +353,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_); } @@ -340,8 +382,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_); @@ -360,23 +401,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.config.v1.ListPreviewsRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ListPreviewsRequest other = (com.google.cloud.config.v1.ListPreviewsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.config.v1.ListPreviewsRequest other = + (com.google.cloud.config.v1.ListPreviewsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,132 +440,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ListPreviewsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ListPreviewsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListPreviewsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListPreviewsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListPreviewsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest 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.config.v1.ListPreviewsRequest 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; } /** + * + * *
    * A request to list all previews for a given project and location.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListPreviewsRequest} */ - 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.config.v1.ListPreviewsRequest) com.google.cloud.config.v1.ListPreviewsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListPreviewsRequest.class, com.google.cloud.config.v1.ListPreviewsRequest.Builder.class); + com.google.cloud.config.v1.ListPreviewsRequest.class, + com.google.cloud.config.v1.ListPreviewsRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ListPreviewsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; } @java.lang.Override @@ -563,8 +604,11 @@ public com.google.cloud.config.v1.ListPreviewsRequest build() { @java.lang.Override public com.google.cloud.config.v1.ListPreviewsRequest buildPartial() { - com.google.cloud.config.v1.ListPreviewsRequest result = new com.google.cloud.config.v1.ListPreviewsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ListPreviewsRequest result = + new com.google.cloud.config.v1.ListPreviewsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -592,38 +636,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListPreviewsRequest result 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.config.v1.ListPreviewsRequest) { - return mergeFrom((com.google.cloud.config.v1.ListPreviewsRequest)other); + return mergeFrom((com.google.cloud.config.v1.ListPreviewsRequest) other); } else { super.mergeFrom(other); return this; @@ -681,37 +726,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -721,23 +772,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the Previews are listed. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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; @@ -746,21 +802,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Previews are listed. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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 { @@ -768,30 +827,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Previews are listed. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the Previews are listed. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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() { @@ -801,18 +871,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the Previews are listed. The parent
      * value is in the format: 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -820,8 +896,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. When requesting a page of resources, 'page_size' specifies number
      * of resources to return. If unspecified, at most 500 will be returned. The
@@ -829,6 +907,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -836,6 +915,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. When requesting a page of resources, 'page_size' specifies number
      * of resources to return. If unspecified, at most 500 will be returned. The
@@ -843,6 +924,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -854,6 +936,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. When requesting a page of resources, 'page_size' specifies number
      * of resources to return. If unspecified, at most 500 will be returned. The
@@ -861,6 +945,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -872,6 +957,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Token returned by previous call to 'ListDeployments' which
      * specifies the position in the list from where to continue listing the
@@ -879,13 +966,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; @@ -894,6 +981,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Token returned by previous call to 'ListDeployments' which
      * specifies the position in the list from where to continue listing the
@@ -901,15 +990,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 { @@ -917,6 +1005,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Token returned by previous call to 'ListDeployments' which
      * specifies the position in the list from where to continue listing the
@@ -924,18 +1014,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Token returned by previous call to 'ListDeployments' which
      * specifies the position in the list from where to continue listing the
@@ -943,6 +1037,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -952,6 +1047,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Token returned by previous call to 'ListDeployments' which
      * specifies the position in the list from where to continue listing the
@@ -959,12 +1056,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -974,6 +1073,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -999,13 +1100,13 @@ public Builder setPageTokenBytes(
      * 
* * 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; @@ -1014,6 +1115,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1039,15 +1142,14 @@ public java.lang.String getFilter() {
      * 
* * 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 { @@ -1055,6 +1157,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1080,18 +1184,22 @@ public java.lang.String getFilter() {
      * 
* * 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(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1117,6 +1225,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1126,6 +1235,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Lists the Deployments that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1151,12 +1262,14 @@ public Builder clearFilter() {
      * 
* * 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(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1166,18 +1279,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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; @@ -1186,20 +1301,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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 { @@ -1207,28 +1323,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1238,26 +1361,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1267,12 +1394,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListPreviewsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListPreviewsRequest) private static final com.google.cloud.config.v1.ListPreviewsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListPreviewsRequest(); } @@ -1281,27 +1408,27 @@ public static com.google.cloud.config.v1.ListPreviewsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPreviewsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPreviewsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1316,6 +1443,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListPreviewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java index 9da0622416d7..c3c760e9ec96 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsRequestOrBuilder.java @@ -1,36 +1,63 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListPreviewsRequestOrBuilder extends +public interface ListPreviewsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListPreviewsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the Previews are listed. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 in whose context the Previews are listed. The parent
    * value is in the format: 'projects/{project_id}/locations/{location}'.
    * 
* - * 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. When requesting a page of resources, 'page_size' specifies number
    * of resources to return. If unspecified, at most 500 will be returned. The
@@ -38,11 +65,14 @@ public interface ListPreviewsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Token returned by previous call to 'ListDeployments' which
    * specifies the position in the list from where to continue listing the
@@ -50,10 +80,13 @@ public interface ListPreviewsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Token returned by previous call to 'ListDeployments' which
    * specifies the position in the list from where to continue listing the
@@ -61,12 +94,14 @@ public interface ListPreviewsRequestOrBuilder 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. Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -92,10 +127,13 @@ public interface ListPreviewsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Lists the Deployments that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -121,28 +159,33 @@ public interface ListPreviewsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to use to sort the list.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to use to sort the list.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java index 178f489d5a47..e3e75737f057 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,52 +20,58 @@ package com.google.cloud.config.v1; /** + * + * *
  * A response to a `ListPreviews` call. Contains a list of Previews.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListPreviewsResponse} */ -public final class ListPreviewsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPreviewsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListPreviewsResponse) ListPreviewsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPreviewsResponse.newBuilder() to construct. private ListPreviewsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPreviewsResponse() { previews_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPreviewsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListPreviewsResponse.class, com.google.cloud.config.v1.ListPreviewsResponse.Builder.class); + com.google.cloud.config.v1.ListPreviewsResponse.class, + com.google.cloud.config.v1.ListPreviewsResponse.Builder.class); } public static final int PREVIEWS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List previews_; /** + * + * *
    * List of [Previews][]s.
    * 
@@ -62,6 +83,8 @@ public java.util.List getPreviewsList() { return previews_; } /** + * + * *
    * List of [Previews][]s.
    * 
@@ -69,11 +92,13 @@ public java.util.List getPreviewsList() { * repeated .google.cloud.config.v1.Preview previews = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPreviewsOrBuilderList() { return previews_; } /** + * + * *
    * List of [Previews][]s.
    * 
@@ -85,6 +110,8 @@ public int getPreviewsCount() { return previews_.size(); } /** + * + * *
    * List of [Previews][]s.
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.config.v1.Preview getPreviews(int index) { return previews_.get(index); } /** + * + * *
    * List of [Previews][]s.
    * 
@@ -103,21 +132,24 @@ public com.google.cloud.config.v1.Preview getPreviews(int index) { * repeated .google.cloud.config.v1.Preview previews = 1; */ @java.lang.Override - public com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder( - int index) { + public com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder(int index) { return previews_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to be supplied to the next ListPreviews request via `page_token`
    * to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,30 +158,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; } } /** + * + * *
    * Token to be supplied to the next ListPreviews request via `page_token`
    * to obtain the next set of results.
    * 
* * 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 { @@ -158,38 +190,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that 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 that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -197,20 +238,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that 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; @@ -222,8 +266,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 < previews_.size(); i++) { output.writeMessage(1, previews_.get(i)); } @@ -243,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < previews_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, previews_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, previews_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -265,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.config.v1.ListPreviewsResponse)) { return super.equals(obj); } - com.google.cloud.config.v1.ListPreviewsResponse other = (com.google.cloud.config.v1.ListPreviewsResponse) obj; + com.google.cloud.config.v1.ListPreviewsResponse other = + (com.google.cloud.config.v1.ListPreviewsResponse) obj; - if (!getPreviewsList() - .equals(other.getPreviewsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getPreviewsList().equals(other.getPreviewsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,132 +344,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ListPreviewsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ListPreviewsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListPreviewsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListPreviewsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListPreviewsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse 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.config.v1.ListPreviewsResponse 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; } /** + * + * *
    * A response to a `ListPreviews` call. Contains a list of Previews.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListPreviewsResponse} */ - 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.config.v1.ListPreviewsResponse) com.google.cloud.config.v1.ListPreviewsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListPreviewsResponse.class, com.google.cloud.config.v1.ListPreviewsResponse.Builder.class); + com.google.cloud.config.v1.ListPreviewsResponse.class, + com.google.cloud.config.v1.ListPreviewsResponse.Builder.class); } // Construct using com.google.cloud.config.v1.ListPreviewsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,15 +486,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; } @java.lang.Override @@ -469,14 +512,18 @@ public com.google.cloud.config.v1.ListPreviewsResponse build() { @java.lang.Override public com.google.cloud.config.v1.ListPreviewsResponse buildPartial() { - com.google.cloud.config.v1.ListPreviewsResponse result = new com.google.cloud.config.v1.ListPreviewsResponse(this); + com.google.cloud.config.v1.ListPreviewsResponse result = + new com.google.cloud.config.v1.ListPreviewsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.config.v1.ListPreviewsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListPreviewsResponse result) { if (previewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { previews_ = java.util.Collections.unmodifiableList(previews_); @@ -503,38 +550,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListPreviewsResponse resul 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.config.v1.ListPreviewsResponse) { - return mergeFrom((com.google.cloud.config.v1.ListPreviewsResponse)other); + return mergeFrom((com.google.cloud.config.v1.ListPreviewsResponse) other); } else { super.mergeFrom(other); return this; @@ -542,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListPreviewsResponse other) { - if (other == com.google.cloud.config.v1.ListPreviewsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListPreviewsResponse.getDefaultInstance()) + return this; if (previewsBuilder_ == null) { if (!other.previews_.isEmpty()) { if (previews_.isEmpty()) { @@ -561,9 +610,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.ListPreviewsResponse other) previewsBuilder_ = null; previews_ = other.previews_; bitField0_ = (bitField0_ & ~0x00000001); - previewsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPreviewsFieldBuilder() : null; + previewsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPreviewsFieldBuilder() + : null; } else { previewsBuilder_.addAllMessages(other.previews_); } @@ -610,36 +660,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.config.v1.Preview m = - input.readMessage( - com.google.cloud.config.v1.Preview.parser(), - extensionRegistry); - if (previewsBuilder_ == null) { - ensurePreviewsIsMutable(); - previews_.add(m); - } else { - previewsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.config.v1.Preview m = + input.readMessage( + com.google.cloud.config.v1.Preview.parser(), extensionRegistry); + if (previewsBuilder_ == null) { + ensurePreviewsIsMutable(); + previews_.add(m); + } else { + previewsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,21 +702,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List previews_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePreviewsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { previews_ = new java.util.ArrayList(previews_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Preview, com.google.cloud.config.v1.Preview.Builder, com.google.cloud.config.v1.PreviewOrBuilder> previewsBuilder_; + com.google.cloud.config.v1.Preview, + com.google.cloud.config.v1.Preview.Builder, + com.google.cloud.config.v1.PreviewOrBuilder> + previewsBuilder_; /** + * + * *
      * List of [Previews][]s.
      * 
@@ -678,6 +738,8 @@ public java.util.List getPreviewsList() { } } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -692,6 +754,8 @@ public int getPreviewsCount() { } } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -706,14 +770,15 @@ public com.google.cloud.config.v1.Preview getPreviews(int index) { } } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public Builder setPreviews( - int index, com.google.cloud.config.v1.Preview value) { + public Builder setPreviews(int index, com.google.cloud.config.v1.Preview value) { if (previewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -727,6 +792,8 @@ public Builder setPreviews( return this; } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -745,6 +812,8 @@ public Builder setPreviews( return this; } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -765,14 +834,15 @@ public Builder addPreviews(com.google.cloud.config.v1.Preview value) { return this; } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public Builder addPreviews( - int index, com.google.cloud.config.v1.Preview value) { + public Builder addPreviews(int index, com.google.cloud.config.v1.Preview value) { if (previewsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -786,14 +856,15 @@ public Builder addPreviews( return this; } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public Builder addPreviews( - com.google.cloud.config.v1.Preview.Builder builderForValue) { + public Builder addPreviews(com.google.cloud.config.v1.Preview.Builder builderForValue) { if (previewsBuilder_ == null) { ensurePreviewsIsMutable(); previews_.add(builderForValue.build()); @@ -804,6 +875,8 @@ public Builder addPreviews( return this; } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -822,6 +895,8 @@ public Builder addPreviews( return this; } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -832,8 +907,7 @@ public Builder addAllPreviews( java.lang.Iterable values) { if (previewsBuilder_ == null) { ensurePreviewsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, previews_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, previews_); onChanged(); } else { previewsBuilder_.addAllMessages(values); @@ -841,6 +915,8 @@ public Builder addAllPreviews( return this; } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -858,6 +934,8 @@ public Builder clearPreviews() { return this; } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -875,39 +953,44 @@ public Builder removePreviews(int index) { return this; } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public com.google.cloud.config.v1.Preview.Builder getPreviewsBuilder( - int index) { + public com.google.cloud.config.v1.Preview.Builder getPreviewsBuilder(int index) { return getPreviewsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder( - int index) { + public com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder(int index) { if (previewsBuilder_ == null) { - return previews_.get(index); } else { + return previews_.get(index); + } else { return previewsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public java.util.List - getPreviewsOrBuilderList() { + public java.util.List + getPreviewsOrBuilderList() { if (previewsBuilder_ != null) { return previewsBuilder_.getMessageOrBuilderList(); } else { @@ -915,6 +998,8 @@ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder( } } /** + * + * *
      * List of [Previews][]s.
      * 
@@ -922,42 +1007,47 @@ public com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder( * repeated .google.cloud.config.v1.Preview previews = 1; */ public com.google.cloud.config.v1.Preview.Builder addPreviewsBuilder() { - return getPreviewsFieldBuilder().addBuilder( - com.google.cloud.config.v1.Preview.getDefaultInstance()); + return getPreviewsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.Preview.getDefaultInstance()); } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public com.google.cloud.config.v1.Preview.Builder addPreviewsBuilder( - int index) { - return getPreviewsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.Preview.getDefaultInstance()); + public com.google.cloud.config.v1.Preview.Builder addPreviewsBuilder(int index) { + return getPreviewsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.Preview.getDefaultInstance()); } /** + * + * *
      * List of [Previews][]s.
      * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - public java.util.List - getPreviewsBuilderList() { + public java.util.List getPreviewsBuilderList() { return getPreviewsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Preview, com.google.cloud.config.v1.Preview.Builder, com.google.cloud.config.v1.PreviewOrBuilder> + com.google.cloud.config.v1.Preview, + com.google.cloud.config.v1.Preview.Builder, + com.google.cloud.config.v1.PreviewOrBuilder> getPreviewsFieldBuilder() { if (previewsBuilder_ == null) { - previewsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Preview, com.google.cloud.config.v1.Preview.Builder, com.google.cloud.config.v1.PreviewOrBuilder>( - previews_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + previewsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.Preview, + com.google.cloud.config.v1.Preview.Builder, + com.google.cloud.config.v1.PreviewOrBuilder>( + previews_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); previews_ = null; } return previewsBuilder_; @@ -965,19 +1055,21 @@ public com.google.cloud.config.v1.Preview.Builder addPreviewsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to be supplied to the next ListPreviews request via `page_token`
      * to obtain the next set of results.
      * 
* * 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; @@ -986,21 +1078,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to be supplied to the next ListPreviews request via `page_token`
      * to obtain the next set of results.
      * 
* * 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 { @@ -1008,30 +1101,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to be supplied to the next ListPreviews request via `page_token`
      * to obtain the next set of results.
      * 
* * 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(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to be supplied to the next ListPreviews request via `page_token`
      * to obtain the next set of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1041,18 +1141,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to be supplied to the next ListPreviews request via `page_token`
      * to obtain the next set of results.
      * 
* * 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(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1062,6 +1166,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1069,35 +1174,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that 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() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1105,31 +1218,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that 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 that 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(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1137,17 +1256,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1155,50 +1278,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1206,9 +1337,9 @@ public Builder addUnreachableBytes( 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); } @@ -1218,12 +1349,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListPreviewsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListPreviewsResponse) private static final com.google.cloud.config.v1.ListPreviewsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListPreviewsResponse(); } @@ -1232,27 +1363,27 @@ public static com.google.cloud.config.v1.ListPreviewsResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPreviewsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPreviewsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1267,6 +1398,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListPreviewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java index 5d5afccf1d3b..56cce976bde5 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListPreviewsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListPreviewsResponseOrBuilder extends +public interface ListPreviewsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListPreviewsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of [Previews][]s.
    * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - java.util.List - getPreviewsList(); + java.util.List getPreviewsList(); /** + * + * *
    * List of [Previews][]s.
    * 
@@ -26,6 +45,8 @@ public interface ListPreviewsResponseOrBuilder extends */ com.google.cloud.config.v1.Preview getPreviews(int index); /** + * + * *
    * List of [Previews][]s.
    * 
@@ -34,84 +55,101 @@ public interface ListPreviewsResponseOrBuilder extends */ int getPreviewsCount(); /** + * + * *
    * List of [Previews][]s.
    * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - java.util.List - getPreviewsOrBuilderList(); + java.util.List getPreviewsOrBuilderList(); /** + * + * *
    * List of [Previews][]s.
    * 
* * repeated .google.cloud.config.v1.Preview previews = 1; */ - com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder( - int index); + com.google.cloud.config.v1.PreviewOrBuilder getPreviewsOrBuilder(int index); /** + * + * *
    * Token to be supplied to the next ListPreviews request via `page_token`
    * to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to be supplied to the next ListPreviews request via `page_token`
    * to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that 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 that 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java index b548269c907d..8287d260f694 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to list Resources passed to a 'ListResources' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListResourcesRequest} */ -public final class ListResourcesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListResourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListResourcesRequest) ListResourcesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListResourcesRequest.newBuilder() to construct. private ListResourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListResourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -29,35 +47,42 @@ private ListResourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListResourcesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListResourcesRequest.class, com.google.cloud.config.v1.ListResourcesRequest.Builder.class); + com.google.cloud.config.v1.ListResourcesRequest.class, + com.google.cloud.config.v1.ListResourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the Resources are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * 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 @@ -66,31 +91,33 @@ 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 in whose context the Resources are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * 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 { @@ -101,6 +128,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * When requesting a page of resources, 'page_size' specifies number of
    * resources to return. If unspecified, at most 500 will be returned. The
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,15 +146,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Token returned by previous call to 'ListResources' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,30 +167,30 @@ 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; } } /** + * + * *
    * Token returned by previous call to 'ListResources' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @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 { @@ -165,9 +199,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Lists the Resources that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -185,6 +222,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -193,14 +231,15 @@ 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; } } /** + * + * *
    * Lists the Resources that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -218,16 +257,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @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 { @@ -236,14 +274,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -252,29 +294,29 @@ 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; } } /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @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 { @@ -283,6 +325,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,8 +337,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_); } @@ -324,8 +366,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_); @@ -344,23 +385,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.config.v1.ListResourcesRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ListResourcesRequest other = (com.google.cloud.config.v1.ListResourcesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.config.v1.ListResourcesRequest other = + (com.google.cloud.config.v1.ListResourcesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,132 +424,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ListResourcesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ListResourcesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListResourcesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListResourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListResourcesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest 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.config.v1.ListResourcesRequest 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; } /** + * + * *
    * A request to list Resources passed to a 'ListResources' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListResourcesRequest} */ - 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.config.v1.ListResourcesRequest) com.google.cloud.config.v1.ListResourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListResourcesRequest.class, com.google.cloud.config.v1.ListResourcesRequest.Builder.class); + com.google.cloud.config.v1.ListResourcesRequest.class, + com.google.cloud.config.v1.ListResourcesRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ListResourcesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; } @java.lang.Override @@ -547,8 +588,11 @@ public com.google.cloud.config.v1.ListResourcesRequest build() { @java.lang.Override public com.google.cloud.config.v1.ListResourcesRequest buildPartial() { - com.google.cloud.config.v1.ListResourcesRequest result = new com.google.cloud.config.v1.ListResourcesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ListResourcesRequest result = + new com.google.cloud.config.v1.ListResourcesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -576,38 +620,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListResourcesRequest resul 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.config.v1.ListResourcesRequest) { - return mergeFrom((com.google.cloud.config.v1.ListResourcesRequest)other); + return mergeFrom((com.google.cloud.config.v1.ListResourcesRequest) other); } else { super.mergeFrom(other); return this; @@ -615,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListResourcesRequest other) { - if (other == com.google.cloud.config.v1.ListResourcesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListResourcesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -665,37 +711,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -705,24 +757,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the Resources are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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; @@ -731,22 +788,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Resources are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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 { @@ -754,32 +814,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Resources are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the Resources are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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() { @@ -789,19 +860,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the Resources are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -809,8 +886,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * When requesting a page of resources, 'page_size' specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -818,6 +897,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -825,6 +905,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * When requesting a page of resources, 'page_size' specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -832,6 +914,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -843,6 +926,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * When requesting a page of resources, 'page_size' specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -850,6 +935,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -861,19 +947,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Token returned by previous call to 'ListResources' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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; @@ -882,21 +970,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token returned by previous call to 'ListResources' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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 { @@ -904,30 +993,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token returned by previous call to 'ListResources' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Token returned by previous call to 'ListResources' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -937,18 +1033,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Token returned by previous call to 'ListResources' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -958,6 +1058,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Lists the Resources that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -975,13 +1077,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @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; @@ -990,6 +1092,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the Resources that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1007,15 +1111,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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 { @@ -1023,6 +1126,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the Resources that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1040,18 +1145,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Lists the Resources that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1069,6 +1178,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1078,6 +1188,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Lists the Resources that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1095,12 +1207,14 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @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(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1110,18 +1224,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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; @@ -1130,20 +1246,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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 { @@ -1151,28 +1268,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1182,26 +1306,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1211,12 +1339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListResourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListResourcesRequest) private static final com.google.cloud.config.v1.ListResourcesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListResourcesRequest(); } @@ -1225,27 +1353,27 @@ public static com.google.cloud.config.v1.ListResourcesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListResourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,6 +1388,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java index 872bda2dc6a5..36028bc606f6 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListResourcesRequestOrBuilder extends +public interface ListResourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListResourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the Resources are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * 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 in whose context the Resources are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
    * 
* - * 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(); /** + * + * *
    * When requesting a page of resources, 'page_size' specifies number of
    * resources to return. If unspecified, at most 500 will be returned. The
@@ -40,33 +67,41 @@ public interface ListResourcesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Token returned by previous call to 'ListResources' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Token returned by previous call to 'ListResources' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Lists the Resources that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -84,10 +119,13 @@ public interface ListResourcesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Lists the Resources that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -105,28 +143,33 @@ public interface ListResourcesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java index 51ea115de06e..092a251843b0 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,52 +20,58 @@ package com.google.cloud.config.v1; /** + * + * *
  * A response to a 'ListResources' call. Contains a list of Resources.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListResourcesResponse} */ -public final class ListResourcesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListResourcesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListResourcesResponse) ListResourcesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListResourcesResponse.newBuilder() to construct. private ListResourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListResourcesResponse() { resources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListResourcesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListResourcesResponse.class, com.google.cloud.config.v1.ListResourcesResponse.Builder.class); + com.google.cloud.config.v1.ListResourcesResponse.class, + com.google.cloud.config.v1.ListResourcesResponse.Builder.class); } public static final int RESOURCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List resources_; /** + * + * *
    * List of [Resources][]s.
    * 
@@ -62,6 +83,8 @@ public java.util.List getResourcesList() { return resources_; } /** + * + * *
    * List of [Resources][]s.
    * 
@@ -69,11 +92,13 @@ public java.util.List getResourcesList() { * repeated .google.cloud.config.v1.Resource resources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getResourcesOrBuilderList() { return resources_; } /** + * + * *
    * List of [Resources][]s.
    * 
@@ -85,6 +110,8 @@ public int getResourcesCount() { return resources_.size(); } /** + * + * *
    * List of [Resources][]s.
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.config.v1.Resource getResources(int index) { return resources_.get(index); } /** + * + * *
    * List of [Resources][]s.
    * 
@@ -103,15 +132,17 @@ public com.google.cloud.config.v1.Resource getResources(int index) { * repeated .google.cloud.config.v1.Resource resources = 1; */ @java.lang.Override - public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder( - int index) { + public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder(int index) { return resources_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token to request the next page of resources from the 'ListResources'
    * method. The value of an empty string means that there are no more resources
@@ -119,6 +150,7 @@ public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -127,14 +159,15 @@ 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 to request the next page of resources from the 'ListResources'
    * method. The value of an empty string means that there are no more resources
@@ -142,16 +175,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -160,38 +192,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that 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 that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -199,20 +240,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that 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; @@ -224,8 +268,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 < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -245,8 +288,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,19 +309,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.config.v1.ListResourcesResponse)) { return super.equals(obj); } - com.google.cloud.config.v1.ListResourcesResponse other = (com.google.cloud.config.v1.ListResourcesResponse) obj; + com.google.cloud.config.v1.ListResourcesResponse other = + (com.google.cloud.config.v1.ListResourcesResponse) obj; - if (!getResourcesList() - .equals(other.getResourcesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getResourcesList().equals(other.getResourcesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,132 +346,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ListResourcesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ListResourcesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListResourcesResponse 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.config.v1.ListResourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListResourcesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListResourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListResourcesResponse 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.config.v1.ListResourcesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ListResourcesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ListResourcesResponse 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.config.v1.ListResourcesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListResourcesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListResourcesResponse 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.config.v1.ListResourcesResponse 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.config.v1.ListResourcesResponse 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.config.v1.ListResourcesResponse 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; } /** + * + * *
    * A response to a 'ListResources' call. Contains a list of Resources.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListResourcesResponse} */ - 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.config.v1.ListResourcesResponse) com.google.cloud.config.v1.ListResourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListResourcesResponse.class, com.google.cloud.config.v1.ListResourcesResponse.Builder.class); + com.google.cloud.config.v1.ListResourcesResponse.class, + com.google.cloud.config.v1.ListResourcesResponse.Builder.class); } // Construct using com.google.cloud.config.v1.ListResourcesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,15 +488,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; } @java.lang.Override @@ -471,14 +514,18 @@ public com.google.cloud.config.v1.ListResourcesResponse build() { @java.lang.Override public com.google.cloud.config.v1.ListResourcesResponse buildPartial() { - com.google.cloud.config.v1.ListResourcesResponse result = new com.google.cloud.config.v1.ListResourcesResponse(this); + com.google.cloud.config.v1.ListResourcesResponse result = + new com.google.cloud.config.v1.ListResourcesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.config.v1.ListResourcesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListResourcesResponse result) { if (resourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { resources_ = java.util.Collections.unmodifiableList(resources_); @@ -505,38 +552,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListResourcesResponse resu 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.config.v1.ListResourcesResponse) { - return mergeFrom((com.google.cloud.config.v1.ListResourcesResponse)other); + return mergeFrom((com.google.cloud.config.v1.ListResourcesResponse) other); } else { super.mergeFrom(other); return this; @@ -544,7 +592,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListResourcesResponse other) { - if (other == com.google.cloud.config.v1.ListResourcesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListResourcesResponse.getDefaultInstance()) + return this; if (resourcesBuilder_ == null) { if (!other.resources_.isEmpty()) { if (resources_.isEmpty()) { @@ -563,9 +612,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.ListResourcesResponse other) resourcesBuilder_ = null; resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000001); - resourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourcesFieldBuilder() : null; + resourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResourcesFieldBuilder() + : null; } else { resourcesBuilder_.addAllMessages(other.resources_); } @@ -612,36 +662,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.config.v1.Resource m = - input.readMessage( - com.google.cloud.config.v1.Resource.parser(), - extensionRegistry); - if (resourcesBuilder_ == null) { - ensureResourcesIsMutable(); - resources_.add(m); - } else { - resourcesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.config.v1.Resource m = + input.readMessage( + com.google.cloud.config.v1.Resource.parser(), extensionRegistry); + if (resourcesBuilder_ == null) { + ensureResourcesIsMutable(); + resources_.add(m); + } else { + resourcesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,21 +704,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List resources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { resources_ = new java.util.ArrayList(resources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Resource, com.google.cloud.config.v1.Resource.Builder, com.google.cloud.config.v1.ResourceOrBuilder> resourcesBuilder_; + com.google.cloud.config.v1.Resource, + com.google.cloud.config.v1.Resource.Builder, + com.google.cloud.config.v1.ResourceOrBuilder> + resourcesBuilder_; /** + * + * *
      * List of [Resources][]s.
      * 
@@ -680,6 +740,8 @@ public java.util.List getResourcesList() { } } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -694,6 +756,8 @@ public int getResourcesCount() { } } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -708,14 +772,15 @@ public com.google.cloud.config.v1.Resource getResources(int index) { } } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public Builder setResources( - int index, com.google.cloud.config.v1.Resource value) { + public Builder setResources(int index, com.google.cloud.config.v1.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -729,6 +794,8 @@ public Builder setResources( return this; } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -747,6 +814,8 @@ public Builder setResources( return this; } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -767,14 +836,15 @@ public Builder addResources(com.google.cloud.config.v1.Resource value) { return this; } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public Builder addResources( - int index, com.google.cloud.config.v1.Resource value) { + public Builder addResources(int index, com.google.cloud.config.v1.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -788,14 +858,15 @@ public Builder addResources( return this; } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public Builder addResources( - com.google.cloud.config.v1.Resource.Builder builderForValue) { + public Builder addResources(com.google.cloud.config.v1.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(builderForValue.build()); @@ -806,6 +877,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -824,6 +897,8 @@ public Builder addResources( return this; } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -834,8 +909,7 @@ public Builder addAllResources( java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -843,6 +917,8 @@ public Builder addAllResources( return this; } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -860,6 +936,8 @@ public Builder clearResources() { return this; } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -877,39 +955,44 @@ public Builder removeResources(int index) { return this; } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public com.google.cloud.config.v1.Resource.Builder getResourcesBuilder( - int index) { + public com.google.cloud.config.v1.Resource.Builder getResourcesBuilder(int index) { return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder( - int index) { + public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder(int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -917,6 +1000,8 @@ public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder( } } /** + * + * *
      * List of [Resources][]s.
      * 
@@ -924,42 +1009,47 @@ public com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder( * repeated .google.cloud.config.v1.Resource resources = 1; */ public com.google.cloud.config.v1.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.config.v1.Resource.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder(com.google.cloud.config.v1.Resource.getDefaultInstance()); } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public com.google.cloud.config.v1.Resource.Builder addResourcesBuilder( - int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.Resource.getDefaultInstance()); + public com.google.cloud.config.v1.Resource.Builder addResourcesBuilder(int index) { + return getResourcesFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.Resource.getDefaultInstance()); } /** + * + * *
      * List of [Resources][]s.
      * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Resource, com.google.cloud.config.v1.Resource.Builder, com.google.cloud.config.v1.ResourceOrBuilder> + com.google.cloud.config.v1.Resource, + com.google.cloud.config.v1.Resource.Builder, + com.google.cloud.config.v1.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Resource, com.google.cloud.config.v1.Resource.Builder, com.google.cloud.config.v1.ResourceOrBuilder>( - resources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.Resource, + com.google.cloud.config.v1.Resource.Builder, + com.google.cloud.config.v1.ResourceOrBuilder>( + resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; @@ -967,6 +1057,8 @@ public com.google.cloud.config.v1.Resource.Builder addResourcesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to request the next page of resources from the 'ListResources'
      * method. The value of an empty string means that there are no more resources
@@ -974,13 +1066,13 @@ public com.google.cloud.config.v1.Resource.Builder addResourcesBuilder(
      * 
* * 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; @@ -989,6 +1081,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to request the next page of resources from the 'ListResources'
      * method. The value of an empty string means that there are no more resources
@@ -996,15 +1090,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1012,6 +1105,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to request the next page of resources from the 'ListResources'
      * method. The value of an empty string means that there are no more resources
@@ -1019,18 +1114,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token to request the next page of resources from the 'ListResources'
      * method. The value of an empty string means that there are no more resources
@@ -1038,6 +1137,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1047,6 +1147,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token to request the next page of resources from the 'ListResources'
      * method. The value of an empty string means that there are no more resources
@@ -1054,12 +1156,14 @@ public Builder clearNextPageToken() {
      * 
* * 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(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1069,6 +1173,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1076,35 +1181,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that 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() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1112,31 +1225,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that 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 that 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(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1144,17 +1263,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1162,50 +1285,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1213,9 +1344,9 @@ public Builder addUnreachableBytes( 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); } @@ -1225,12 +1356,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListResourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListResourcesResponse) private static final com.google.cloud.config.v1.ListResourcesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListResourcesResponse(); } @@ -1239,27 +1370,27 @@ public static com.google.cloud.config.v1.ListResourcesResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListResourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1274,6 +1405,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java index 627bf5efb652..246de9ad1345 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListResourcesResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListResourcesResponseOrBuilder extends +public interface ListResourcesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListResourcesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of [Resources][]s.
    * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - java.util.List - getResourcesList(); + java.util.List getResourcesList(); /** + * + * *
    * List of [Resources][]s.
    * 
@@ -26,6 +45,8 @@ public interface ListResourcesResponseOrBuilder extends */ com.google.cloud.config.v1.Resource getResources(int index); /** + * + * *
    * List of [Resources][]s.
    * 
@@ -34,25 +55,30 @@ public interface ListResourcesResponseOrBuilder extends */ int getResourcesCount(); /** + * + * *
    * List of [Resources][]s.
    * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - java.util.List + java.util.List getResourcesOrBuilderList(); /** + * + * *
    * List of [Resources][]s.
    * 
* * repeated .google.cloud.config.v1.Resource resources = 1; */ - com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder( - int index); + com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder(int index); /** + * + * *
    * A token to request the next page of resources from the 'ListResources'
    * method. The value of an empty string means that there are no more resources
@@ -60,10 +86,13 @@ com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to request the next page of resources from the 'ListResources'
    * method. The value of an empty string means that there are no more resources
@@ -71,49 +100,59 @@ com.google.cloud.config.v1.ResourceOrBuilder getResourcesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that 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 that 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java index c37aaaaae4c9..7bb7d2fcc347 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to list Revisions passed to a 'ListRevisions' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListRevisionsRequest} */ -public final class ListRevisionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListRevisionsRequest) ListRevisionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRevisionsRequest.newBuilder() to construct. private ListRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRevisionsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,35 +47,42 @@ private ListRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRevisionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListRevisionsRequest.class, com.google.cloud.config.v1.ListRevisionsRequest.Builder.class); + com.google.cloud.config.v1.ListRevisionsRequest.class, + com.google.cloud.config.v1.ListRevisionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the Revisions are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 @@ -66,31 +91,33 @@ 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 in whose context the Revisions are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 { @@ -101,6 +128,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * When requesting a page of resources, `page_size` specifies number of
    * resources to return. If unspecified, at most 500 will be returned. The
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,15 +146,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Token returned by previous call to 'ListRevisions' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,30 +167,30 @@ 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; } } /** + * + * *
    * Token returned by previous call to 'ListRevisions' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @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 { @@ -165,9 +199,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Lists the Revisions that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -193,6 +230,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -201,14 +239,15 @@ 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; } } /** + * + * *
    * Lists the Revisions that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -234,16 +273,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @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 { @@ -252,14 +290,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -268,29 +310,29 @@ 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; } } /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @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 { @@ -299,6 +341,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,8 +353,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_); } @@ -340,8 +382,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_); @@ -360,23 +401,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.config.v1.ListRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ListRevisionsRequest other = (com.google.cloud.config.v1.ListRevisionsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.config.v1.ListRevisionsRequest other = + (com.google.cloud.config.v1.ListRevisionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,132 +440,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ListRevisionsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ListRevisionsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListRevisionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListRevisionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListRevisionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest 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.config.v1.ListRevisionsRequest 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; } /** + * + * *
    * A request to list Revisions passed to a 'ListRevisions' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListRevisionsRequest} */ - 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.config.v1.ListRevisionsRequest) com.google.cloud.config.v1.ListRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListRevisionsRequest.class, com.google.cloud.config.v1.ListRevisionsRequest.Builder.class); + com.google.cloud.config.v1.ListRevisionsRequest.class, + com.google.cloud.config.v1.ListRevisionsRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ListRevisionsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; } @java.lang.Override @@ -563,8 +604,11 @@ public com.google.cloud.config.v1.ListRevisionsRequest build() { @java.lang.Override public com.google.cloud.config.v1.ListRevisionsRequest buildPartial() { - com.google.cloud.config.v1.ListRevisionsRequest result = new com.google.cloud.config.v1.ListRevisionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ListRevisionsRequest result = + new com.google.cloud.config.v1.ListRevisionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -592,38 +636,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListRevisionsRequest resul 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.config.v1.ListRevisionsRequest) { - return mergeFrom((com.google.cloud.config.v1.ListRevisionsRequest)other); + return mergeFrom((com.google.cloud.config.v1.ListRevisionsRequest) other); } else { super.mergeFrom(other); return this; @@ -631,7 +676,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListRevisionsRequest other) { - if (other == com.google.cloud.config.v1.ListRevisionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListRevisionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -681,37 +727,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -721,24 +773,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the Revisions are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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; @@ -747,22 +804,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Revisions are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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 { @@ -770,32 +830,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the Revisions are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the Revisions are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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() { @@ -805,19 +876,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the Revisions are listed. The parent
      * value is in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -825,8 +902,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * When requesting a page of resources, `page_size` specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -834,6 +913,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -841,6 +921,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * When requesting a page of resources, `page_size` specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -848,6 +930,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -859,6 +942,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * When requesting a page of resources, `page_size` specifies number of
      * resources to return. If unspecified, at most 500 will be returned. The
@@ -866,6 +951,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -877,19 +963,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Token returned by previous call to 'ListRevisions' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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; @@ -898,21 +986,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token returned by previous call to 'ListRevisions' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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 { @@ -920,30 +1009,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Token returned by previous call to 'ListRevisions' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Token returned by previous call to 'ListRevisions' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -953,18 +1049,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Token returned by previous call to 'ListRevisions' which specifies the
      * position in the list from where to continue listing the resources.
      * 
* * string page_token = 3; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -974,6 +1074,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Lists the Revisions that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -999,13 +1101,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @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; @@ -1014,6 +1116,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the Revisions that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1039,15 +1143,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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 { @@ -1055,6 +1158,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Lists the Revisions that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1080,18 +1185,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Lists the Revisions that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1117,6 +1226,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1126,6 +1236,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Lists the Revisions that match the filter expression. A filter
      * expression filters the resources listed in the response. The expression
@@ -1151,12 +1263,14 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @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(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1166,18 +1280,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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; @@ -1186,20 +1302,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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 { @@ -1207,28 +1324,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1238,26 +1362,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Field to use to sort the list.
      * 
* * string order_by = 5; + * * @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(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1267,12 +1395,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListRevisionsRequest) private static final com.google.cloud.config.v1.ListRevisionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListRevisionsRequest(); } @@ -1281,27 +1409,27 @@ public static com.google.cloud.config.v1.ListRevisionsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1316,6 +1444,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListRevisionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java index c2299f2895a1..715775853276 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListRevisionsRequestOrBuilder extends +public interface ListRevisionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the Revisions are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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 in whose context the Revisions are listed. The parent
    * value is in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * 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(); /** + * + * *
    * When requesting a page of resources, `page_size` specifies number of
    * resources to return. If unspecified, at most 500 will be returned. The
@@ -40,33 +67,41 @@ public interface ListRevisionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Token returned by previous call to 'ListRevisions' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Token returned by previous call to 'ListRevisions' which specifies the
    * position in the list from where to continue listing the resources.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Lists the Revisions that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -92,10 +127,13 @@ public interface ListRevisionsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Lists the Revisions that match the filter expression. A filter
    * expression filters the resources listed in the response. The expression
@@ -121,28 +159,33 @@ public interface ListRevisionsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Field to use to sort the list.
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java index b2f528a2d834..4a143d3d2f5c 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,52 +20,58 @@ package com.google.cloud.config.v1; /** + * + * *
  * A response to a 'ListRevisions' call. Contains a list of Revisions.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListRevisionsResponse} */ -public final class ListRevisionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListRevisionsResponse) ListRevisionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRevisionsResponse.newBuilder() to construct. private ListRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRevisionsResponse() { revisions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRevisionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListRevisionsResponse.class, com.google.cloud.config.v1.ListRevisionsResponse.Builder.class); + com.google.cloud.config.v1.ListRevisionsResponse.class, + com.google.cloud.config.v1.ListRevisionsResponse.Builder.class); } public static final int REVISIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List revisions_; /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -62,6 +83,8 @@ public java.util.List getRevisionsList() { return revisions_; } /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -69,11 +92,13 @@ public java.util.List getRevisionsList() { * repeated .google.cloud.config.v1.Revision revisions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRevisionsOrBuilderList() { return revisions_; } /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -85,6 +110,8 @@ public int getRevisionsCount() { return revisions_.size(); } /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.config.v1.Revision getRevisions(int index) { return revisions_.get(index); } /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -103,15 +132,17 @@ public com.google.cloud.config.v1.Revision getRevisions(int index) { * repeated .google.cloud.config.v1.Revision revisions = 1; */ @java.lang.Override - public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder( - int index) { + public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder(int index) { return revisions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token to request the next page of resources from the 'ListRevisions'
    * method. The value of an empty string means that there are no more resources
@@ -119,6 +150,7 @@ public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -127,14 +159,15 @@ 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 to request the next page of resources from the 'ListRevisions'
    * method. The value of an empty string means that there are no more resources
@@ -142,16 +175,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -160,38 +192,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that 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 that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -199,20 +240,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that 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; @@ -224,8 +268,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 < revisions_.size(); i++) { output.writeMessage(1, revisions_.get(i)); } @@ -245,8 +288,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < revisions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, revisions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, revisions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,19 +309,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.config.v1.ListRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.config.v1.ListRevisionsResponse other = (com.google.cloud.config.v1.ListRevisionsResponse) obj; + com.google.cloud.config.v1.ListRevisionsResponse other = + (com.google.cloud.config.v1.ListRevisionsResponse) obj; - if (!getRevisionsList() - .equals(other.getRevisionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getRevisionsList().equals(other.getRevisionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,132 +346,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ListRevisionsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ListRevisionsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListRevisionsResponse 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.config.v1.ListRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListRevisionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListRevisionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListRevisionsResponse 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.config.v1.ListRevisionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ListRevisionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ListRevisionsResponse 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.config.v1.ListRevisionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListRevisionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListRevisionsResponse 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.config.v1.ListRevisionsResponse 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.config.v1.ListRevisionsResponse 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.config.v1.ListRevisionsResponse 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; } /** + * + * *
    * A response to a 'ListRevisions' call. Contains a list of Revisions.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListRevisionsResponse} */ - 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.config.v1.ListRevisionsResponse) com.google.cloud.config.v1.ListRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListRevisionsResponse.class, com.google.cloud.config.v1.ListRevisionsResponse.Builder.class); + com.google.cloud.config.v1.ListRevisionsResponse.class, + com.google.cloud.config.v1.ListRevisionsResponse.Builder.class); } // Construct using com.google.cloud.config.v1.ListRevisionsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,15 +488,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; } @java.lang.Override @@ -471,14 +514,18 @@ public com.google.cloud.config.v1.ListRevisionsResponse build() { @java.lang.Override public com.google.cloud.config.v1.ListRevisionsResponse buildPartial() { - com.google.cloud.config.v1.ListRevisionsResponse result = new com.google.cloud.config.v1.ListRevisionsResponse(this); + com.google.cloud.config.v1.ListRevisionsResponse result = + new com.google.cloud.config.v1.ListRevisionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.config.v1.ListRevisionsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListRevisionsResponse result) { if (revisionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { revisions_ = java.util.Collections.unmodifiableList(revisions_); @@ -505,38 +552,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListRevisionsResponse resu 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.config.v1.ListRevisionsResponse) { - return mergeFrom((com.google.cloud.config.v1.ListRevisionsResponse)other); + return mergeFrom((com.google.cloud.config.v1.ListRevisionsResponse) other); } else { super.mergeFrom(other); return this; @@ -544,7 +592,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListRevisionsResponse other) { - if (other == com.google.cloud.config.v1.ListRevisionsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListRevisionsResponse.getDefaultInstance()) + return this; if (revisionsBuilder_ == null) { if (!other.revisions_.isEmpty()) { if (revisions_.isEmpty()) { @@ -563,9 +612,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.ListRevisionsResponse other) revisionsBuilder_ = null; revisions_ = other.revisions_; bitField0_ = (bitField0_ & ~0x00000001); - revisionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRevisionsFieldBuilder() : null; + revisionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRevisionsFieldBuilder() + : null; } else { revisionsBuilder_.addAllMessages(other.revisions_); } @@ -612,36 +662,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.config.v1.Revision m = - input.readMessage( - com.google.cloud.config.v1.Revision.parser(), - extensionRegistry); - if (revisionsBuilder_ == null) { - ensureRevisionsIsMutable(); - revisions_.add(m); - } else { - revisionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.config.v1.Revision m = + input.readMessage( + com.google.cloud.config.v1.Revision.parser(), extensionRegistry); + if (revisionsBuilder_ == null) { + ensureRevisionsIsMutable(); + revisions_.add(m); + } else { + revisionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,21 +704,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List revisions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRevisionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { revisions_ = new java.util.ArrayList(revisions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Revision, com.google.cloud.config.v1.Revision.Builder, com.google.cloud.config.v1.RevisionOrBuilder> revisionsBuilder_; + com.google.cloud.config.v1.Revision, + com.google.cloud.config.v1.Revision.Builder, + com.google.cloud.config.v1.RevisionOrBuilder> + revisionsBuilder_; /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -680,6 +740,8 @@ public java.util.List getRevisionsList() { } } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -694,6 +756,8 @@ public int getRevisionsCount() { } } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -708,14 +772,15 @@ public com.google.cloud.config.v1.Revision getRevisions(int index) { } } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public Builder setRevisions( - int index, com.google.cloud.config.v1.Revision value) { + public Builder setRevisions(int index, com.google.cloud.config.v1.Revision value) { if (revisionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -729,6 +794,8 @@ public Builder setRevisions( return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -747,6 +814,8 @@ public Builder setRevisions( return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -767,14 +836,15 @@ public Builder addRevisions(com.google.cloud.config.v1.Revision value) { return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public Builder addRevisions( - int index, com.google.cloud.config.v1.Revision value) { + public Builder addRevisions(int index, com.google.cloud.config.v1.Revision value) { if (revisionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -788,14 +858,15 @@ public Builder addRevisions( return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public Builder addRevisions( - com.google.cloud.config.v1.Revision.Builder builderForValue) { + public Builder addRevisions(com.google.cloud.config.v1.Revision.Builder builderForValue) { if (revisionsBuilder_ == null) { ensureRevisionsIsMutable(); revisions_.add(builderForValue.build()); @@ -806,6 +877,8 @@ public Builder addRevisions( return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -824,6 +897,8 @@ public Builder addRevisions( return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -834,8 +909,7 @@ public Builder addAllRevisions( java.lang.Iterable values) { if (revisionsBuilder_ == null) { ensureRevisionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, revisions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, revisions_); onChanged(); } else { revisionsBuilder_.addAllMessages(values); @@ -843,6 +917,8 @@ public Builder addAllRevisions( return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -860,6 +936,8 @@ public Builder clearRevisions() { return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -877,39 +955,44 @@ public Builder removeRevisions(int index) { return this; } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public com.google.cloud.config.v1.Revision.Builder getRevisionsBuilder( - int index) { + public com.google.cloud.config.v1.Revision.Builder getRevisionsBuilder(int index) { return getRevisionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder( - int index) { + public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder(int index) { if (revisionsBuilder_ == null) { - return revisions_.get(index); } else { + return revisions_.get(index); + } else { return revisionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public java.util.List - getRevisionsOrBuilderList() { + public java.util.List + getRevisionsOrBuilderList() { if (revisionsBuilder_ != null) { return revisionsBuilder_.getMessageOrBuilderList(); } else { @@ -917,6 +1000,8 @@ public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder( } } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
@@ -924,42 +1009,47 @@ public com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder( * repeated .google.cloud.config.v1.Revision revisions = 1; */ public com.google.cloud.config.v1.Revision.Builder addRevisionsBuilder() { - return getRevisionsFieldBuilder().addBuilder( - com.google.cloud.config.v1.Revision.getDefaultInstance()); + return getRevisionsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.Revision.getDefaultInstance()); } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public com.google.cloud.config.v1.Revision.Builder addRevisionsBuilder( - int index) { - return getRevisionsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.Revision.getDefaultInstance()); + public com.google.cloud.config.v1.Revision.Builder addRevisionsBuilder(int index) { + return getRevisionsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.Revision.getDefaultInstance()); } /** + * + * *
      * List of [Revision][google.cloud.config.v1.Revision]s.
      * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - public java.util.List - getRevisionsBuilderList() { + public java.util.List getRevisionsBuilderList() { return getRevisionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Revision, com.google.cloud.config.v1.Revision.Builder, com.google.cloud.config.v1.RevisionOrBuilder> + com.google.cloud.config.v1.Revision, + com.google.cloud.config.v1.Revision.Builder, + com.google.cloud.config.v1.RevisionOrBuilder> getRevisionsFieldBuilder() { if (revisionsBuilder_ == null) { - revisionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.Revision, com.google.cloud.config.v1.Revision.Builder, com.google.cloud.config.v1.RevisionOrBuilder>( - revisions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + revisionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.Revision, + com.google.cloud.config.v1.Revision.Builder, + com.google.cloud.config.v1.RevisionOrBuilder>( + revisions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); revisions_ = null; } return revisionsBuilder_; @@ -967,6 +1057,8 @@ public com.google.cloud.config.v1.Revision.Builder addRevisionsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to request the next page of resources from the 'ListRevisions'
      * method. The value of an empty string means that there are no more resources
@@ -974,13 +1066,13 @@ public com.google.cloud.config.v1.Revision.Builder addRevisionsBuilder(
      * 
* * 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; @@ -989,6 +1081,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to request the next page of resources from the 'ListRevisions'
      * method. The value of an empty string means that there are no more resources
@@ -996,15 +1090,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1012,6 +1105,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to request the next page of resources from the 'ListRevisions'
      * method. The value of an empty string means that there are no more resources
@@ -1019,18 +1114,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token to request the next page of resources from the 'ListRevisions'
      * method. The value of an empty string means that there are no more resources
@@ -1038,6 +1137,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1047,6 +1147,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token to request the next page of resources from the 'ListRevisions'
      * method. The value of an empty string means that there are no more resources
@@ -1054,12 +1156,14 @@ public Builder clearNextPageToken() {
      * 
* * 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(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1069,6 +1173,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1076,35 +1181,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that 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() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1112,31 +1225,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that 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 that 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(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1144,17 +1263,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1162,50 +1285,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that 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(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1213,9 +1344,9 @@ public Builder addUnreachableBytes( 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); } @@ -1225,12 +1356,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListRevisionsResponse) private static final com.google.cloud.config.v1.ListRevisionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListRevisionsResponse(); } @@ -1239,27 +1370,27 @@ public static com.google.cloud.config.v1.ListRevisionsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1274,6 +1405,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ListRevisionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java index 1b9fc573ef0d..c76b63aa2a5e 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListRevisionsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListRevisionsResponseOrBuilder extends +public interface ListRevisionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - java.util.List - getRevisionsList(); + java.util.List getRevisionsList(); /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -26,6 +45,8 @@ public interface ListRevisionsResponseOrBuilder extends */ com.google.cloud.config.v1.Revision getRevisions(int index); /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
@@ -34,25 +55,30 @@ public interface ListRevisionsResponseOrBuilder extends */ int getRevisionsCount(); /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - java.util.List + java.util.List getRevisionsOrBuilderList(); /** + * + * *
    * List of [Revision][google.cloud.config.v1.Revision]s.
    * 
* * repeated .google.cloud.config.v1.Revision revisions = 1; */ - com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder( - int index); + com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder(int index); /** + * + * *
    * A token to request the next page of resources from the 'ListRevisions'
    * method. The value of an empty string means that there are no more resources
@@ -60,10 +86,13 @@ com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to request the next page of resources from the 'ListRevisions'
    * method. The value of an empty string means that there are no more resources
@@ -71,49 +100,59 @@ com.google.cloud.config.v1.RevisionOrBuilder getRevisionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that 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 that 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java index 55b21eefb1c9..57c9fd77c1e1 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * The request message for the ListTerraformVersions method.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListTerraformVersionsRequest} */ -public final class ListTerraformVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTerraformVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListTerraformVersionsRequest) ListTerraformVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTerraformVersionsRequest.newBuilder() to construct. private ListTerraformVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTerraformVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,35 +47,42 @@ private ListTerraformVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTerraformVersionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListTerraformVersionsRequest.class, com.google.cloud.config.v1.ListTerraformVersionsRequest.Builder.class); + com.google.cloud.config.v1.ListTerraformVersionsRequest.class, + com.google.cloud.config.v1.ListTerraformVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent in whose context the TerraformVersions are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 @@ -66,31 +91,33 @@ 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 in whose context the TerraformVersions are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 { @@ -101,6 +128,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. When requesting a page of resources, 'page_size' specifies number
    * of resources to return. If unspecified, at most 500 will be returned. The
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. Token returned by previous call to 'ListTerraformVersions' which
    * specifies the position in the list from where to continue listing the
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,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. Token returned by previous call to 'ListTerraformVersions' which
    * specifies the position in the list from where to continue listing the
@@ -149,16 +184,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 { @@ -167,9 +201,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Lists the TerraformVersions that match the filter expression. A
    * filter expression filters the resources listed in the response. The
@@ -182,6 +219,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -190,14 +228,15 @@ 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. Lists the TerraformVersions that match the filter expression. A
    * filter expression filters the resources listed in the response. The
@@ -210,16 +249,15 @@ public java.lang.String getFilter() {
    * 
* * 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 { @@ -228,14 +266,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Field to use to sort the list.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -244,29 +286,29 @@ 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. Field to use to sort the list.
    * 
* * string order_by = 5 [(.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 { @@ -275,6 +317,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +329,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_); } @@ -316,8 +358,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_); @@ -336,23 +377,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.config.v1.ListTerraformVersionsRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.ListTerraformVersionsRequest other = (com.google.cloud.config.v1.ListTerraformVersionsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.config.v1.ListTerraformVersionsRequest other = + (com.google.cloud.config.v1.ListTerraformVersionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -380,131 +417,136 @@ public int hashCode() { } public static com.google.cloud.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListTerraformVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListTerraformVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ListTerraformVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListTerraformVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest 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.config.v1.ListTerraformVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.ListTerraformVersionsRequest 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; } /** + * + * *
    * The request message for the ListTerraformVersions method.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListTerraformVersionsRequest} */ - 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.config.v1.ListTerraformVersionsRequest) com.google.cloud.config.v1.ListTerraformVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListTerraformVersionsRequest.class, com.google.cloud.config.v1.ListTerraformVersionsRequest.Builder.class); + com.google.cloud.config.v1.ListTerraformVersionsRequest.class, + com.google.cloud.config.v1.ListTerraformVersionsRequest.Builder.class); } // Construct using com.google.cloud.config.v1.ListTerraformVersionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -518,9 +560,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; } @java.lang.Override @@ -539,8 +581,11 @@ public com.google.cloud.config.v1.ListTerraformVersionsRequest build() { @java.lang.Override public com.google.cloud.config.v1.ListTerraformVersionsRequest buildPartial() { - com.google.cloud.config.v1.ListTerraformVersionsRequest result = new com.google.cloud.config.v1.ListTerraformVersionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ListTerraformVersionsRequest result = + new com.google.cloud.config.v1.ListTerraformVersionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -568,38 +613,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListTerraformVersionsReque 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.config.v1.ListTerraformVersionsRequest) { - return mergeFrom((com.google.cloud.config.v1.ListTerraformVersionsRequest)other); + return mergeFrom((com.google.cloud.config.v1.ListTerraformVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -607,7 +653,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListTerraformVersionsRequest other) { - if (other == com.google.cloud.config.v1.ListTerraformVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListTerraformVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -657,37 +704,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -697,24 +750,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent in whose context the TerraformVersions are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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; @@ -723,22 +781,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the TerraformVersions are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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 { @@ -746,32 +807,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent in whose context the TerraformVersions are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent in whose context the TerraformVersions are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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() { @@ -781,19 +853,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent in whose context the TerraformVersions are listed. The
      * parent value is in the format:
      * 'projects/{project_id}/locations/{location}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -801,8 +879,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. When requesting a page of resources, 'page_size' specifies number
      * of resources to return. If unspecified, at most 500 will be returned. The
@@ -810,6 +890,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -817,6 +898,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. When requesting a page of resources, 'page_size' specifies number
      * of resources to return. If unspecified, at most 500 will be returned. The
@@ -824,6 +907,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -835,6 +919,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. When requesting a page of resources, 'page_size' specifies number
      * of resources to return. If unspecified, at most 500 will be returned. The
@@ -842,6 +928,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -853,6 +940,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Token returned by previous call to 'ListTerraformVersions' which
      * specifies the position in the list from where to continue listing the
@@ -860,13 +949,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; @@ -875,6 +964,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Token returned by previous call to 'ListTerraformVersions' which
      * specifies the position in the list from where to continue listing the
@@ -882,15 +973,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 { @@ -898,6 +988,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Token returned by previous call to 'ListTerraformVersions' which
      * specifies the position in the list from where to continue listing the
@@ -905,18 +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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. Token returned by previous call to 'ListTerraformVersions' which
      * specifies the position in the list from where to continue listing the
@@ -924,6 +1020,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -933,6 +1030,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. Token returned by previous call to 'ListTerraformVersions' which
      * specifies the position in the list from where to continue listing the
@@ -940,12 +1039,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -955,6 +1056,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Lists the TerraformVersions that match the filter expression. A
      * filter expression filters the resources listed in the response. The
@@ -967,13 +1070,13 @@ public Builder setPageTokenBytes(
      * 
* * 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; @@ -982,6 +1085,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Lists the TerraformVersions that match the filter expression. A
      * filter expression filters the resources listed in the response. The
@@ -994,15 +1099,14 @@ public java.lang.String getFilter() {
      * 
* * 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 { @@ -1010,6 +1114,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Lists the TerraformVersions that match the filter expression. A
      * filter expression filters the resources listed in the response. The
@@ -1022,18 +1128,22 @@ public java.lang.String getFilter() {
      * 
* * 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(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Lists the TerraformVersions that match the filter expression. A
      * filter expression filters the resources listed in the response. The
@@ -1046,6 +1156,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1055,6 +1166,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Lists the TerraformVersions that match the filter expression. A
      * filter expression filters the resources listed in the response. The
@@ -1067,12 +1180,14 @@ public Builder clearFilter() {
      * 
* * 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(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1082,18 +1197,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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; @@ -1102,20 +1219,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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 { @@ -1123,28 +1241,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1154,26 +1279,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Field to use to sort the list.
      * 
* * string order_by = 5 [(.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(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; 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); } @@ -1183,12 +1312,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListTerraformVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListTerraformVersionsRequest) private static final com.google.cloud.config.v1.ListTerraformVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListTerraformVersionsRequest(); } @@ -1197,27 +1326,27 @@ public static com.google.cloud.config.v1.ListTerraformVersionsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTerraformVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTerraformVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,6 +1361,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.config.v1.ListTerraformVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java index cdb6ad1dbae9..c87cf93cee59 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsRequestOrBuilder.java @@ -1,38 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListTerraformVersionsRequestOrBuilder extends +public interface ListTerraformVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListTerraformVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent in whose context the TerraformVersions are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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 in whose context the TerraformVersions are listed. The
    * parent value is in the format:
    * 'projects/{project_id}/locations/{location}'.
    * 
* - * 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. When requesting a page of resources, 'page_size' specifies number
    * of resources to return. If unspecified, at most 500 will be returned. The
@@ -40,11 +67,14 @@ public interface ListTerraformVersionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Token returned by previous call to 'ListTerraformVersions' which
    * specifies the position in the list from where to continue listing the
@@ -52,10 +82,13 @@ public interface ListTerraformVersionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Token returned by previous call to 'ListTerraformVersions' which
    * specifies the position in the list from where to continue listing the
@@ -63,12 +96,14 @@ public interface ListTerraformVersionsRequestOrBuilder 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. Lists the TerraformVersions that match the filter expression. A
    * filter expression filters the resources listed in the response. The
@@ -81,10 +116,13 @@ public interface ListTerraformVersionsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Lists the TerraformVersions that match the filter expression. A
    * filter expression filters the resources listed in the response. The
@@ -97,28 +135,33 @@ public interface ListTerraformVersionsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Field to use to sort the list.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Field to use to sort the list.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java similarity index 74% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java index a99347fde69a..a84dffd0771c 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,52 +20,58 @@ package com.google.cloud.config.v1; /** + * + * *
  * The response message for the `ListTerraformVersions` method.
  * 
* * Protobuf type {@code google.cloud.config.v1.ListTerraformVersionsResponse} */ -public final class ListTerraformVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTerraformVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListTerraformVersionsResponse) ListTerraformVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTerraformVersionsResponse.newBuilder() to construct. private ListTerraformVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTerraformVersionsResponse() { terraformVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTerraformVersionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListTerraformVersionsResponse.class, com.google.cloud.config.v1.ListTerraformVersionsResponse.Builder.class); + com.google.cloud.config.v1.ListTerraformVersionsResponse.class, + com.google.cloud.config.v1.ListTerraformVersionsResponse.Builder.class); } public static final int TERRAFORM_VERSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List terraformVersions_; /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -62,6 +83,8 @@ public java.util.List getTerraformV return terraformVersions_; } /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -69,11 +92,13 @@ public java.util.List getTerraformV * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTerraformVersionsOrBuilderList() { return terraformVersions_; } /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -85,6 +110,8 @@ public int getTerraformVersionsCount() { return terraformVersions_.size(); } /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -96,6 +123,8 @@ public com.google.cloud.config.v1.TerraformVersion getTerraformVersions(int inde return terraformVersions_.get(index); } /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -109,15 +138,19 @@ public com.google.cloud.config.v1.TerraformVersionOrBuilder getTerraformVersions } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Token to be supplied to the next ListTerraformVersions request via
    * `page_token` to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,30 +159,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; } } /** + * + * *
    * Token to be supplied to the next ListTerraformVersions request via
    * `page_token` to obtain the next set of results.
    * 
* * 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 { @@ -158,38 +191,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Unreachable resources, if any.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Unreachable resources, if any.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Unreachable resources, if any.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -197,20 +239,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Unreachable resources, if any.
    * 
* * 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; @@ -222,8 +267,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 < terraformVersions_.size(); i++) { output.writeMessage(1, terraformVersions_.get(i)); } @@ -243,8 +287,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < terraformVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, terraformVersions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, terraformVersions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -265,19 +309,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.config.v1.ListTerraformVersionsResponse)) { return super.equals(obj); } - com.google.cloud.config.v1.ListTerraformVersionsResponse other = (com.google.cloud.config.v1.ListTerraformVersionsResponse) obj; + com.google.cloud.config.v1.ListTerraformVersionsResponse other = + (com.google.cloud.config.v1.ListTerraformVersionsResponse) obj; - if (!getTerraformVersionsList() - .equals(other.getTerraformVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getTerraformVersionsList().equals(other.getTerraformVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,131 +347,136 @@ public int hashCode() { } public static com.google.cloud.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListTerraformVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ListTerraformVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ListTerraformVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ListTerraformVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse 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.config.v1.ListTerraformVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.config.v1.ListTerraformVersionsResponse 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; } /** + * + * *
    * The response message for the `ListTerraformVersions` method.
    * 
* * Protobuf type {@code google.cloud.config.v1.ListTerraformVersionsResponse} */ - 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.config.v1.ListTerraformVersionsResponse) com.google.cloud.config.v1.ListTerraformVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ListTerraformVersionsResponse.class, com.google.cloud.config.v1.ListTerraformVersionsResponse.Builder.class); + com.google.cloud.config.v1.ListTerraformVersionsResponse.class, + com.google.cloud.config.v1.ListTerraformVersionsResponse.Builder.class); } // Construct using com.google.cloud.config.v1.ListTerraformVersionsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,15 +489,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; } @java.lang.Override @@ -469,14 +515,18 @@ public com.google.cloud.config.v1.ListTerraformVersionsResponse build() { @java.lang.Override public com.google.cloud.config.v1.ListTerraformVersionsResponse buildPartial() { - com.google.cloud.config.v1.ListTerraformVersionsResponse result = new com.google.cloud.config.v1.ListTerraformVersionsResponse(this); + com.google.cloud.config.v1.ListTerraformVersionsResponse result = + new com.google.cloud.config.v1.ListTerraformVersionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.config.v1.ListTerraformVersionsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListTerraformVersionsResponse result) { if (terraformVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { terraformVersions_ = java.util.Collections.unmodifiableList(terraformVersions_); @@ -503,38 +553,39 @@ private void buildPartial0(com.google.cloud.config.v1.ListTerraformVersionsRespo 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.config.v1.ListTerraformVersionsResponse) { - return mergeFrom((com.google.cloud.config.v1.ListTerraformVersionsResponse)other); + return mergeFrom((com.google.cloud.config.v1.ListTerraformVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -542,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ListTerraformVersionsResponse other) { - if (other == com.google.cloud.config.v1.ListTerraformVersionsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ListTerraformVersionsResponse.getDefaultInstance()) + return this; if (terraformVersionsBuilder_ == null) { if (!other.terraformVersions_.isEmpty()) { if (terraformVersions_.isEmpty()) { @@ -561,9 +613,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.ListTerraformVersionsRespons terraformVersionsBuilder_ = null; terraformVersions_ = other.terraformVersions_; bitField0_ = (bitField0_ & ~0x00000001); - terraformVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTerraformVersionsFieldBuilder() : null; + terraformVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTerraformVersionsFieldBuilder() + : null; } else { terraformVersionsBuilder_.addAllMessages(other.terraformVersions_); } @@ -610,36 +663,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.config.v1.TerraformVersion m = - input.readMessage( - com.google.cloud.config.v1.TerraformVersion.parser(), - extensionRegistry); - if (terraformVersionsBuilder_ == null) { - ensureTerraformVersionsIsMutable(); - terraformVersions_.add(m); - } else { - terraformVersionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.config.v1.TerraformVersion m = + input.readMessage( + com.google.cloud.config.v1.TerraformVersion.parser(), extensionRegistry); + if (terraformVersionsBuilder_ == null) { + ensureTerraformVersionsIsMutable(); + terraformVersions_.add(m); + } else { + terraformVersionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,21 +705,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List terraformVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTerraformVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - terraformVersions_ = new java.util.ArrayList(terraformVersions_); + terraformVersions_ = + new java.util.ArrayList( + terraformVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformVersion, com.google.cloud.config.v1.TerraformVersion.Builder, com.google.cloud.config.v1.TerraformVersionOrBuilder> terraformVersionsBuilder_; + com.google.cloud.config.v1.TerraformVersion, + com.google.cloud.config.v1.TerraformVersion.Builder, + com.google.cloud.config.v1.TerraformVersionOrBuilder> + terraformVersionsBuilder_; /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -678,6 +743,8 @@ public java.util.List getTerraformV } } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -692,6 +759,8 @@ public int getTerraformVersionsCount() { } } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -706,6 +775,8 @@ public com.google.cloud.config.v1.TerraformVersion getTerraformVersions(int inde } } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -727,6 +798,8 @@ public Builder setTerraformVersions( return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -745,6 +818,8 @@ public Builder setTerraformVersions( return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -765,6 +840,8 @@ public Builder addTerraformVersions(com.google.cloud.config.v1.TerraformVersion return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -786,6 +863,8 @@ public Builder addTerraformVersions( return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -804,6 +883,8 @@ public Builder addTerraformVersions( return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -822,6 +903,8 @@ public Builder addTerraformVersions( return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -832,8 +915,7 @@ public Builder addAllTerraformVersions( java.lang.Iterable values) { if (terraformVersionsBuilder_ == null) { ensureTerraformVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, terraformVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, terraformVersions_); onChanged(); } else { terraformVersionsBuilder_.addAllMessages(values); @@ -841,6 +923,8 @@ public Builder addAllTerraformVersions( return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -858,6 +942,8 @@ public Builder clearTerraformVersions() { return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -875,6 +961,8 @@ public Builder removeTerraformVersions(int index) { return this; } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -886,6 +974,8 @@ public com.google.cloud.config.v1.TerraformVersion.Builder getTerraformVersionsB return getTerraformVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -895,19 +985,22 @@ public com.google.cloud.config.v1.TerraformVersion.Builder getTerraformVersionsB public com.google.cloud.config.v1.TerraformVersionOrBuilder getTerraformVersionsOrBuilder( int index) { if (terraformVersionsBuilder_ == null) { - return terraformVersions_.get(index); } else { + return terraformVersions_.get(index); + } else { return terraformVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
* * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ - public java.util.List - getTerraformVersionsOrBuilderList() { + public java.util.List + getTerraformVersionsOrBuilderList() { if (terraformVersionsBuilder_ != null) { return terraformVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -915,6 +1008,8 @@ public com.google.cloud.config.v1.TerraformVersionOrBuilder getTerraformVersions } } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -922,10 +1017,12 @@ public com.google.cloud.config.v1.TerraformVersionOrBuilder getTerraformVersions * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ public com.google.cloud.config.v1.TerraformVersion.Builder addTerraformVersionsBuilder() { - return getTerraformVersionsFieldBuilder().addBuilder( - com.google.cloud.config.v1.TerraformVersion.getDefaultInstance()); + return getTerraformVersionsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.TerraformVersion.getDefaultInstance()); } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
@@ -934,26 +1031,34 @@ public com.google.cloud.config.v1.TerraformVersion.Builder addTerraformVersionsB */ public com.google.cloud.config.v1.TerraformVersion.Builder addTerraformVersionsBuilder( int index) { - return getTerraformVersionsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.TerraformVersion.getDefaultInstance()); + return getTerraformVersionsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.TerraformVersion.getDefaultInstance()); } /** + * + * *
      * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
      * 
* * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ - public java.util.List - getTerraformVersionsBuilderList() { + public java.util.List + getTerraformVersionsBuilderList() { return getTerraformVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformVersion, com.google.cloud.config.v1.TerraformVersion.Builder, com.google.cloud.config.v1.TerraformVersionOrBuilder> + com.google.cloud.config.v1.TerraformVersion, + com.google.cloud.config.v1.TerraformVersion.Builder, + com.google.cloud.config.v1.TerraformVersionOrBuilder> getTerraformVersionsFieldBuilder() { if (terraformVersionsBuilder_ == null) { - terraformVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformVersion, com.google.cloud.config.v1.TerraformVersion.Builder, com.google.cloud.config.v1.TerraformVersionOrBuilder>( + terraformVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.TerraformVersion, + com.google.cloud.config.v1.TerraformVersion.Builder, + com.google.cloud.config.v1.TerraformVersionOrBuilder>( terraformVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -965,19 +1070,21 @@ public com.google.cloud.config.v1.TerraformVersion.Builder addTerraformVersionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to be supplied to the next ListTerraformVersions request via
      * `page_token` to obtain the next set of results.
      * 
* * 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; @@ -986,21 +1093,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to be supplied to the next ListTerraformVersions request via
      * `page_token` to obtain the next set of results.
      * 
* * 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 { @@ -1008,30 +1116,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to be supplied to the next ListTerraformVersions request via
      * `page_token` to obtain the next set of results.
      * 
* * 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(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to be supplied to the next ListTerraformVersions request via
      * `page_token` to obtain the next set of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1041,18 +1156,22 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to be supplied to the next ListTerraformVersions request via
      * `page_token` to obtain the next set of results.
      * 
* * 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(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1062,6 +1181,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1069,35 +1189,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Unreachable resources, if any.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Unreachable resources, if any.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Unreachable resources, if any.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1105,31 +1233,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Unreachable resources, if any.
      * 
* * 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); } /** + * + * *
      * Unreachable resources, if any.
      * 
* * 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(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1137,17 +1271,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Unreachable resources, if any.
      * 
* * 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(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1155,50 +1293,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Unreachable resources, if any.
      * 
* * 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Unreachable resources, if any.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Unreachable resources, if any.
      * 
* * 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(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1206,9 +1352,9 @@ public Builder addUnreachableBytes( 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); } @@ -1218,12 +1364,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListTerraformVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListTerraformVersionsResponse) private static final com.google.cloud.config.v1.ListTerraformVersionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListTerraformVersionsResponse(); } @@ -1232,27 +1378,27 @@ public static com.google.cloud.config.v1.ListTerraformVersionsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTerraformVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTerraformVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1267,6 +1413,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.config.v1.ListTerraformVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java index e252ff79476f..826966e6e8a4 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListTerraformVersionsResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ListTerraformVersionsResponseOrBuilder extends +public interface ListTerraformVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListTerraformVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
* * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ - java.util.List - getTerraformVersionsList(); + java.util.List getTerraformVersionsList(); /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -26,6 +45,8 @@ public interface ListTerraformVersionsResponseOrBuilder extends */ com.google.cloud.config.v1.TerraformVersion getTerraformVersions(int index); /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
@@ -34,84 +55,102 @@ public interface ListTerraformVersionsResponseOrBuilder extends */ int getTerraformVersionsCount(); /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
* * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ - java.util.List + java.util.List getTerraformVersionsOrBuilderList(); /** + * + * *
    * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
    * 
* * repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; */ - com.google.cloud.config.v1.TerraformVersionOrBuilder getTerraformVersionsOrBuilder( - int index); + com.google.cloud.config.v1.TerraformVersionOrBuilder getTerraformVersionsOrBuilder(int index); /** + * + * *
    * Token to be supplied to the next ListTerraformVersions request via
    * `page_token` to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to be supplied to the next ListTerraformVersions request via
    * `page_token` to obtain the next set of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Unreachable resources, if any.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Unreachable resources, if any.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Unreachable resources, if any.
    * 
* * 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); /** + * + * *
    * Unreachable resources, if any.
    * 
* * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LocationName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LocationName.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LocationName.java diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java similarity index 62% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java index f95cd2f89725..932f1a308862 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to lock a deployment passed to a 'LockDeployment' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.LockDeploymentRequest} */ -public final class LockDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LockDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.LockDeploymentRequest) LockDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LockDeploymentRequest.newBuilder() to construct. private LockDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LockDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LockDeploymentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.LockDeploymentRequest.class, com.google.cloud.config.v1.LockDeploymentRequest.Builder.class); + com.google.cloud.config.v1.LockDeploymentRequest.class, + com.google.cloud.config.v1.LockDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 { @@ -94,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,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_); } @@ -130,15 +157,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.config.v1.LockDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.LockDeploymentRequest other = (com.google.cloud.config.v1.LockDeploymentRequest) obj; + com.google.cloud.config.v1.LockDeploymentRequest other = + (com.google.cloud.config.v1.LockDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.LockDeploymentRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.LockDeploymentRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.LockDeploymentRequest 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.config.v1.LockDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.LockDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.LockDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.LockDeploymentRequest 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.config.v1.LockDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.LockDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.LockDeploymentRequest 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.config.v1.LockDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.LockDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.LockDeploymentRequest 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.config.v1.LockDeploymentRequest 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.config.v1.LockDeploymentRequest 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.config.v1.LockDeploymentRequest 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; } /** + * + * *
    * A request to lock a deployment passed to a 'LockDeployment' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.LockDeploymentRequest} */ - 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.config.v1.LockDeploymentRequest) com.google.cloud.config.v1.LockDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.LockDeploymentRequest.class, com.google.cloud.config.v1.LockDeploymentRequest.Builder.class); + com.google.cloud.config.v1.LockDeploymentRequest.class, + com.google.cloud.config.v1.LockDeploymentRequest.Builder.class); } // Construct using com.google.cloud.config.v1.LockDeploymentRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; } @java.lang.Override @@ -313,8 +344,11 @@ public com.google.cloud.config.v1.LockDeploymentRequest build() { @java.lang.Override public com.google.cloud.config.v1.LockDeploymentRequest buildPartial() { - com.google.cloud.config.v1.LockDeploymentRequest result = new com.google.cloud.config.v1.LockDeploymentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.LockDeploymentRequest result = + new com.google.cloud.config.v1.LockDeploymentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +364,39 @@ private void buildPartial0(com.google.cloud.config.v1.LockDeploymentRequest resu 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.config.v1.LockDeploymentRequest) { - return mergeFrom((com.google.cloud.config.v1.LockDeploymentRequest)other); + return mergeFrom((com.google.cloud.config.v1.LockDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.LockDeploymentRequest other) { - if (other == com.google.cloud.config.v1.LockDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.LockDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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; @@ -446,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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 { @@ -468,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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() { @@ -501,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.LockDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.LockDeploymentRequest) private static final com.google.cloud.config.v1.LockDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.LockDeploymentRequest(); } @@ -545,27 +608,27 @@ public static com.google.cloud.config.v1.LockDeploymentRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LockDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LockDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.LockDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java new file mode 100644 index 000000000000..d5120716c419 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface LockDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.LockDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the deployment in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the deployment in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java index 045325a5ae7b..0e8812195a85 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Details about the lock which locked the deployment.
  * 
* * Protobuf type {@code google.cloud.config.v1.LockInfo} */ -public final class LockInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LockInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.LockInfo) LockInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LockInfo.newBuilder() to construct. private LockInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LockInfo() { operation_ = ""; info_ = ""; @@ -29,33 +47,37 @@ private LockInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LockInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.LockInfo.class, com.google.cloud.config.v1.LockInfo.Builder.class); + com.google.cloud.config.v1.LockInfo.class, + com.google.cloud.config.v1.LockInfo.Builder.class); } private int bitField0_; public static final int LOCK_ID_FIELD_NUMBER = 1; private long lockId_ = 0L; /** + * + * *
    * Unique ID for the lock to be overridden with generation ID in the backend.
    * 
* * int64 lock_id = 1; + * * @return The lockId. */ @java.lang.Override @@ -64,14 +86,18 @@ public long getLockId() { } public static final int OPERATION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object operation_ = ""; /** + * + * *
    * Terraform operation, provided by the caller.
    * 
* * string operation = 2; + * * @return The operation. */ @java.lang.Override @@ -80,29 +106,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** + * + * *
    * Terraform operation, provided by the caller.
    * 
* * string operation = 2; + * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString - getOperationBytes() { + public com.google.protobuf.ByteString getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { @@ -111,14 +137,18 @@ public java.lang.String getOperation() { } public static final int INFO_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object info_ = ""; /** + * + * *
    * Extra information to store with the lock, provided by the caller.
    * 
* * string info = 3; + * * @return The info. */ @java.lang.Override @@ -127,29 +157,29 @@ public java.lang.String getInfo() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); info_ = s; return s; } } /** + * + * *
    * Extra information to store with the lock, provided by the caller.
    * 
* * string info = 3; + * * @return The bytes for info. */ @java.lang.Override - public com.google.protobuf.ByteString - getInfoBytes() { + public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); info_ = b; return b; } else { @@ -158,14 +188,18 @@ public java.lang.String getInfo() { } public static final int WHO_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object who_ = ""; /** + * + * *
    * user@hostname when available
    * 
* * string who = 4; + * * @return The who. */ @java.lang.Override @@ -174,29 +208,29 @@ public java.lang.String getWho() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); who_ = s; return s; } } /** + * + * *
    * user@hostname when available
    * 
* * string who = 4; + * * @return The bytes for who. */ @java.lang.Override - public com.google.protobuf.ByteString - getWhoBytes() { + public com.google.protobuf.ByteString getWhoBytes() { java.lang.Object ref = who_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); who_ = b; return b; } else { @@ -205,14 +239,18 @@ public java.lang.String getWho() { } public static final int VERSION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Terraform version
    * 
* * string version = 5; + * * @return The version. */ @java.lang.Override @@ -221,29 +259,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Terraform version
    * 
* * string version = 5; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -254,11 +292,14 @@ public java.lang.String getVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time that the lock was taken.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -266,11 +307,14 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Time that the lock was taken.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -278,6 +322,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time that the lock was taken.
    * 
@@ -290,6 +336,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,8 +348,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 (lockId_ != 0L) { output.writeInt64(1, lockId_); } @@ -331,8 +377,7 @@ public int getSerializedSize() { size = 0; if (lockId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, lockId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, lockId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); @@ -347,8 +392,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -358,27 +402,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.config.v1.LockInfo)) { return super.equals(obj); } com.google.cloud.config.v1.LockInfo other = (com.google.cloud.config.v1.LockInfo) obj; - if (getLockId() - != other.getLockId()) return false; - if (!getOperation() - .equals(other.getOperation())) return false; - if (!getInfo() - .equals(other.getInfo())) return false; - if (!getWho() - .equals(other.getWho())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (getLockId() != other.getLockId()) return false; + if (!getOperation().equals(other.getOperation())) return false; + if (!getInfo().equals(other.getInfo())) return false; + if (!getWho().equals(other.getWho())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -392,8 +430,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LOCK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLockId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLockId()); hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + getOperation().hashCode(); hash = (37 * hash) + INFO_FIELD_NUMBER; @@ -411,120 +448,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.LockInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.LockInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.LockInfo 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.config.v1.LockInfo parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.LockInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.LockInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.LockInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.LockInfo 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.config.v1.LockInfo 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.config.v1.LockInfo 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.config.v1.LockInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.LockInfo 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.config.v1.LockInfo 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.config.v1.LockInfo 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.config.v1.LockInfo 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; } /** + * + * *
    * Details about the lock which locked the deployment.
    * 
* * Protobuf type {@code google.cloud.config.v1.LockInfo} */ - 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.config.v1.LockInfo) com.google.cloud.config.v1.LockInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.LockInfo.class, com.google.cloud.config.v1.LockInfo.Builder.class); + com.google.cloud.config.v1.LockInfo.class, + com.google.cloud.config.v1.LockInfo.Builder.class); } // Construct using com.google.cloud.config.v1.LockInfo.newBuilder() @@ -532,17 +575,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) { getCreateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_LockInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_LockInfo_descriptor; } @java.lang.Override @@ -583,7 +626,9 @@ public com.google.cloud.config.v1.LockInfo build() { @java.lang.Override public com.google.cloud.config.v1.LockInfo buildPartial() { com.google.cloud.config.v1.LockInfo result = new com.google.cloud.config.v1.LockInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -607,9 +652,7 @@ private void buildPartial0(com.google.cloud.config.v1.LockInfo result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -619,38 +662,39 @@ private void buildPartial0(com.google.cloud.config.v1.LockInfo result) { 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.config.v1.LockInfo) { - return mergeFrom((com.google.cloud.config.v1.LockInfo)other); + return mergeFrom((com.google.cloud.config.v1.LockInfo) other); } else { super.mergeFrom(other); return this; @@ -711,44 +755,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - lockId_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - operation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - info_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - who_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + lockId_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + operation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + info_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + who_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -758,15 +807,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long lockId_ ; + private long lockId_; /** + * + * *
      * Unique ID for the lock to be overridden with generation ID in the backend.
      * 
* * int64 lock_id = 1; + * * @return The lockId. */ @java.lang.Override @@ -774,11 +827,14 @@ public long getLockId() { return lockId_; } /** + * + * *
      * Unique ID for the lock to be overridden with generation ID in the backend.
      * 
* * int64 lock_id = 1; + * * @param value The lockId to set. * @return This builder for chaining. */ @@ -790,11 +846,14 @@ public Builder setLockId(long value) { return this; } /** + * + * *
      * Unique ID for the lock to be overridden with generation ID in the backend.
      * 
* * int64 lock_id = 1; + * * @return This builder for chaining. */ public Builder clearLockId() { @@ -806,18 +865,20 @@ public Builder clearLockId() { private java.lang.Object operation_ = ""; /** + * + * *
      * Terraform operation, provided by the caller.
      * 
* * string operation = 2; + * * @return The operation. */ public java.lang.String getOperation() { java.lang.Object ref = operation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -826,20 +887,21 @@ public java.lang.String getOperation() { } } /** + * + * *
      * Terraform operation, provided by the caller.
      * 
* * string operation = 2; + * * @return The bytes for operation. */ - public com.google.protobuf.ByteString - getOperationBytes() { + public com.google.protobuf.ByteString getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { @@ -847,28 +909,35 @@ public java.lang.String getOperation() { } } /** + * + * *
      * Terraform operation, provided by the caller.
      * 
* * string operation = 2; + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOperation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } operation_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Terraform operation, provided by the caller.
      * 
* * string operation = 2; + * * @return This builder for chaining. */ public Builder clearOperation() { @@ -878,17 +947,21 @@ public Builder clearOperation() { return this; } /** + * + * *
      * Terraform operation, provided by the caller.
      * 
* * string operation = 2; + * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOperationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); operation_ = value; bitField0_ |= 0x00000002; @@ -898,18 +971,20 @@ public Builder setOperationBytes( private java.lang.Object info_ = ""; /** + * + * *
      * Extra information to store with the lock, provided by the caller.
      * 
* * string info = 3; + * * @return The info. */ public java.lang.String getInfo() { java.lang.Object ref = info_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); info_ = s; return s; @@ -918,20 +993,21 @@ public java.lang.String getInfo() { } } /** + * + * *
      * Extra information to store with the lock, provided by the caller.
      * 
* * string info = 3; + * * @return The bytes for info. */ - public com.google.protobuf.ByteString - getInfoBytes() { + public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); info_ = b; return b; } else { @@ -939,28 +1015,35 @@ public java.lang.String getInfo() { } } /** + * + * *
      * Extra information to store with the lock, provided by the caller.
      * 
* * string info = 3; + * * @param value The info to set. * @return This builder for chaining. */ - public Builder setInfo( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInfo(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } info_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Extra information to store with the lock, provided by the caller.
      * 
* * string info = 3; + * * @return This builder for chaining. */ public Builder clearInfo() { @@ -970,17 +1053,21 @@ public Builder clearInfo() { return this; } /** + * + * *
      * Extra information to store with the lock, provided by the caller.
      * 
* * string info = 3; + * * @param value The bytes for info to set. * @return This builder for chaining. */ - public Builder setInfoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInfoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); info_ = value; bitField0_ |= 0x00000004; @@ -990,18 +1077,20 @@ public Builder setInfoBytes( private java.lang.Object who_ = ""; /** + * + * *
      * user@hostname when available
      * 
* * string who = 4; + * * @return The who. */ public java.lang.String getWho() { java.lang.Object ref = who_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); who_ = s; return s; @@ -1010,20 +1099,21 @@ public java.lang.String getWho() { } } /** + * + * *
      * user@hostname when available
      * 
* * string who = 4; + * * @return The bytes for who. */ - public com.google.protobuf.ByteString - getWhoBytes() { + public com.google.protobuf.ByteString getWhoBytes() { java.lang.Object ref = who_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); who_ = b; return b; } else { @@ -1031,28 +1121,35 @@ public java.lang.String getWho() { } } /** + * + * *
      * user@hostname when available
      * 
* * string who = 4; + * * @param value The who to set. * @return This builder for chaining. */ - public Builder setWho( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWho(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } who_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * user@hostname when available
      * 
* * string who = 4; + * * @return This builder for chaining. */ public Builder clearWho() { @@ -1062,17 +1159,21 @@ public Builder clearWho() { return this; } /** + * + * *
      * user@hostname when available
      * 
* * string who = 4; + * * @param value The bytes for who to set. * @return This builder for chaining. */ - public Builder setWhoBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWhoBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); who_ = value; bitField0_ |= 0x00000008; @@ -1082,18 +1183,20 @@ public Builder setWhoBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Terraform version
      * 
* * string version = 5; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1102,20 +1205,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Terraform version
      * 
* * string version = 5; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1123,28 +1227,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Terraform version
      * 
* * string version = 5; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Terraform version
      * 
* * string version = 5; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1154,17 +1265,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Terraform version
      * 
* * string version = 5; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000010; @@ -1174,34 +1289,47 @@ public Builder setVersionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time that the lock was taken.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Time that the lock was taken.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time that the lock was taken.
      * 
@@ -1222,14 +1350,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time that the lock was taken.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1240,6 +1369,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time that the lock was taken.
      * 
@@ -1248,9 +1379,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1265,6 +1396,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time that the lock was taken.
      * 
@@ -1282,6 +1415,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time that the lock was taken.
      * 
@@ -1294,6 +1429,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time that the lock was taken.
      * 
@@ -1304,11 +1441,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time that the lock was taken.
      * 
@@ -1316,21 +1456,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } + @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); } @@ -1340,12 +1483,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.LockInfo) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.LockInfo) private static final com.google.cloud.config.v1.LockInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.LockInfo(); } @@ -1354,27 +1497,27 @@ public static com.google.cloud.config.v1.LockInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LockInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LockInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1389,6 +1532,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.LockInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java index 37ed0212ddf5..70191f926b1d 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockInfoOrBuilder.java @@ -1,122 +1,169 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface LockInfoOrBuilder extends +public interface LockInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.LockInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Unique ID for the lock to be overridden with generation ID in the backend.
    * 
* * int64 lock_id = 1; + * * @return The lockId. */ long getLockId(); /** + * + * *
    * Terraform operation, provided by the caller.
    * 
* * string operation = 2; + * * @return The operation. */ java.lang.String getOperation(); /** + * + * *
    * Terraform operation, provided by the caller.
    * 
* * string operation = 2; + * * @return The bytes for operation. */ - com.google.protobuf.ByteString - getOperationBytes(); + com.google.protobuf.ByteString getOperationBytes(); /** + * + * *
    * Extra information to store with the lock, provided by the caller.
    * 
* * string info = 3; + * * @return The info. */ java.lang.String getInfo(); /** + * + * *
    * Extra information to store with the lock, provided by the caller.
    * 
* * string info = 3; + * * @return The bytes for info. */ - com.google.protobuf.ByteString - getInfoBytes(); + com.google.protobuf.ByteString getInfoBytes(); /** + * + * *
    * user@hostname when available
    * 
* * string who = 4; + * * @return The who. */ java.lang.String getWho(); /** + * + * *
    * user@hostname when available
    * 
* * string who = 4; + * * @return The bytes for who. */ - com.google.protobuf.ByteString - getWhoBytes(); + com.google.protobuf.ByteString getWhoBytes(); /** + * + * *
    * Terraform version
    * 
* * string version = 5; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Terraform version
    * 
* * string version = 5; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Time that the lock was taken.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time that the lock was taken.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time that the lock was taken.
    * 
diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java similarity index 67% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java index 4793ff964c58..36c25b5274b9 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.config.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -29,35 +47,40 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.OperationMetadata.class, com.google.cloud.config.v1.OperationMetadata.Builder.class); + com.google.cloud.config.v1.OperationMetadata.class, + com.google.cloud.config.v1.OperationMetadata.Builder.class); } private int bitField0_; private int resourceMetadataCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object resourceMetadata_; + public enum ResourceMetadataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEPLOYMENT_METADATA(8), PREVIEW_METADATA(9), RESOURCEMETADATA_NOT_SET(0); private final int value; + private ResourceMetadataCase(int value) { this.value = value; } @@ -73,30 +96,38 @@ public static ResourceMetadataCase valueOf(int value) { public static ResourceMetadataCase forNumber(int value) { switch (value) { - case 8: return DEPLOYMENT_METADATA; - case 9: return PREVIEW_METADATA; - case 0: return RESOURCEMETADATA_NOT_SET; - default: return null; + case 8: + return DEPLOYMENT_METADATA; + case 9: + return PREVIEW_METADATA; + case 0: + return RESOURCEMETADATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourceMetadataCase - getResourceMetadataCase() { - return ResourceMetadataCase.forNumber( - resourceMetadataCase_); + public ResourceMetadataCase getResourceMetadataCase() { + return ResourceMetadataCase.forNumber(resourceMetadataCase_); } public static final int DEPLOYMENT_METADATA_FIELD_NUMBER = 8; /** + * + * *
    * Output only. Metadata about the deployment operation state.
    * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deploymentMetadata field is set. */ @java.lang.Override @@ -104,42 +135,57 @@ public boolean hasDeploymentMetadata() { return resourceMetadataCase_ == 8; } /** + * + * *
    * Output only. Metadata about the deployment operation state.
    * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deploymentMetadata. */ @java.lang.Override public com.google.cloud.config.v1.DeploymentOperationMetadata getDeploymentMetadata() { if (resourceMetadataCase_ == 8) { - return (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_; + return (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_; } return com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance(); } /** + * + * *
    * Output only. Metadata about the deployment operation state.
    * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder getDeploymentMetadataOrBuilder() { + public com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder + getDeploymentMetadataOrBuilder() { if (resourceMetadataCase_ == 8) { - return (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_; + return (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_; } return com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance(); } public static final int PREVIEW_METADATA_FIELD_NUMBER = 9; /** + * + * *
    * Output only. Metadata about the preview operation state.
    * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the previewMetadata field is set. */ @java.lang.Override @@ -147,31 +193,41 @@ public boolean hasPreviewMetadata() { return resourceMetadataCase_ == 9; } /** + * + * *
    * Output only. Metadata about the preview operation state.
    * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The previewMetadata. */ @java.lang.Override public com.google.cloud.config.v1.PreviewOperationMetadata getPreviewMetadata() { if (resourceMetadataCase_ == 9) { - return (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_; + return (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_; } return com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance(); } /** + * + * *
    * Output only. Metadata about the preview operation state.
    * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMetadataOrBuilder() { + public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder + getPreviewMetadataOrBuilder() { if (resourceMetadataCase_ == 9) { - return (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_; + return (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_; } return com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance(); } @@ -179,11 +235,15 @@ public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMe public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time when the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -191,11 +251,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. Time when the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -203,11 +267,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time when the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -217,11 +284,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Time when the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -229,11 +300,15 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. Time when the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -241,11 +316,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Time when the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -253,14 +331,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -269,29 +351,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -300,14 +382,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -316,29 +402,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -347,14 +433,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -363,29 +453,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -396,6 +486,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation of the
    * operation. Operations that have successfully been cancelled have
@@ -405,6 +497,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -413,14 +506,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -429,29 +526,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -460,6 +557,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -471,8 +569,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCreateTime()); } @@ -495,10 +592,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (resourceMetadataCase_ == 8) { - output.writeMessage(8, (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_); + output.writeMessage( + 8, (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_); } if (resourceMetadataCase_ == 9) { - output.writeMessage(9, (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_); + output.writeMessage( + 9, (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_); } getUnknownFields().writeTo(output); } @@ -510,12 +609,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -527,19 +624,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (resourceMetadataCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_); } if (resourceMetadataCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -549,42 +647,34 @@ 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.config.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.config.v1.OperationMetadata other = (com.google.cloud.config.v1.OperationMetadata) obj; + com.google.cloud.config.v1.OperationMetadata other = + (com.google.cloud.config.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getResourceMetadataCase().equals(other.getResourceMetadataCase())) return false; switch (resourceMetadataCase_) { case 8: - if (!getDeploymentMetadata() - .equals(other.getDeploymentMetadata())) return false; + if (!getDeploymentMetadata().equals(other.getDeploymentMetadata())) return false; break; case 9: - if (!getPreviewMetadata() - .equals(other.getPreviewMetadata())) return false; + if (!getPreviewMetadata().equals(other.getPreviewMetadata())) return false; break; case 0: default: @@ -615,8 +705,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (resourceMetadataCase_) { @@ -636,120 +725,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.OperationMetadata 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.config.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.OperationMetadata 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.config.v1.OperationMetadata 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.config.v1.OperationMetadata 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.config.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.OperationMetadata 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.config.v1.OperationMetadata 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.config.v1.OperationMetadata 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.config.v1.OperationMetadata 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 metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.config.v1.OperationMetadata} */ - 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.config.v1.OperationMetadata) com.google.cloud.config.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.OperationMetadata.class, com.google.cloud.config.v1.OperationMetadata.Builder.class); + com.google.cloud.config.v1.OperationMetadata.class, + com.google.cloud.config.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.config.v1.OperationMetadata.newBuilder() @@ -757,18 +853,18 @@ 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) { getCreateTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -800,9 +896,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -821,8 +917,11 @@ public com.google.cloud.config.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.config.v1.OperationMetadata buildPartial() { - com.google.cloud.config.v1.OperationMetadata result = new com.google.cloud.config.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.OperationMetadata result = + new com.google.cloud.config.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -832,15 +931,11 @@ private void buildPartial0(com.google.cloud.config.v1.OperationMetadata result) int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -864,12 +959,10 @@ private void buildPartial0(com.google.cloud.config.v1.OperationMetadata result) private void buildPartialOneofs(com.google.cloud.config.v1.OperationMetadata result) { result.resourceMetadataCase_ = resourceMetadataCase_; result.resourceMetadata_ = this.resourceMetadata_; - if (resourceMetadataCase_ == 8 && - deploymentMetadataBuilder_ != null) { + if (resourceMetadataCase_ == 8 && deploymentMetadataBuilder_ != null) { result.resourceMetadata_ = deploymentMetadataBuilder_.build(); } - if (resourceMetadataCase_ == 9 && - previewMetadataBuilder_ != null) { + if (resourceMetadataCase_ == 9 && previewMetadataBuilder_ != null) { result.resourceMetadata_ = previewMetadataBuilder_.build(); } } @@ -878,38 +971,39 @@ private void buildPartialOneofs(com.google.cloud.config.v1.OperationMetadata res 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.config.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.config.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.config.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -948,17 +1042,20 @@ public Builder mergeFrom(com.google.cloud.config.v1.OperationMetadata other) { onChanged(); } switch (other.getResourceMetadataCase()) { - case DEPLOYMENT_METADATA: { - mergeDeploymentMetadata(other.getDeploymentMetadata()); - break; - } - case PREVIEW_METADATA: { - mergePreviewMetadata(other.getPreviewMetadata()); - break; - } - case RESOURCEMETADATA_NOT_SET: { - break; - } + case DEPLOYMENT_METADATA: + { + mergeDeploymentMetadata(other.getDeploymentMetadata()); + break; + } + case PREVIEW_METADATA: + { + mergePreviewMetadata(other.getPreviewMetadata()); + break; + } + case RESOURCEMETADATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -986,65 +1083,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 58 - case 66: { - input.readMessage( - getDeploymentMetadataFieldBuilder().getBuilder(), - extensionRegistry); - resourceMetadataCase_ = 8; - break; - } // case 66 - case 74: { - input.readMessage( - getPreviewMetadataFieldBuilder().getBuilder(), - extensionRegistry); - resourceMetadataCase_ = 9; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 58 + case 66: + { + input.readMessage( + getDeploymentMetadataFieldBuilder().getBuilder(), extensionRegistry); + resourceMetadataCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage(getPreviewMetadataFieldBuilder().getBuilder(), extensionRegistry); + resourceMetadataCase_ = 9; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1054,12 +1154,12 @@ public Builder mergeFrom( } // finally return this; } + private int resourceMetadataCase_ = 0; private java.lang.Object resourceMetadata_; - public ResourceMetadataCase - getResourceMetadataCase() { - return ResourceMetadataCase.forNumber( - resourceMetadataCase_); + + public ResourceMetadataCase getResourceMetadataCase() { + return ResourceMetadataCase.forNumber(resourceMetadataCase_); } public Builder clearResourceMetadata() { @@ -1072,13 +1172,21 @@ public Builder clearResourceMetadata() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.DeploymentOperationMetadata, com.google.cloud.config.v1.DeploymentOperationMetadata.Builder, com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder> deploymentMetadataBuilder_; + com.google.cloud.config.v1.DeploymentOperationMetadata, + com.google.cloud.config.v1.DeploymentOperationMetadata.Builder, + com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder> + deploymentMetadataBuilder_; /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deploymentMetadata field is set. */ @java.lang.Override @@ -1086,11 +1194,16 @@ public boolean hasDeploymentMetadata() { return resourceMetadataCase_ == 8; } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deploymentMetadata. */ @java.lang.Override @@ -1108,13 +1221,18 @@ public com.google.cloud.config.v1.DeploymentOperationMetadata getDeploymentMetad } } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeploymentMetadata(com.google.cloud.config.v1.DeploymentOperationMetadata value) { + public Builder setDeploymentMetadata( + com.google.cloud.config.v1.DeploymentOperationMetadata value) { if (deploymentMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1128,11 +1246,15 @@ public Builder setDeploymentMetadata(com.google.cloud.config.v1.DeploymentOperat return this; } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeploymentMetadata( com.google.cloud.config.v1.DeploymentOperationMetadata.Builder builderForValue) { @@ -1146,18 +1268,27 @@ public Builder setDeploymentMetadata( return this; } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeDeploymentMetadata(com.google.cloud.config.v1.DeploymentOperationMetadata value) { + public Builder mergeDeploymentMetadata( + com.google.cloud.config.v1.DeploymentOperationMetadata value) { if (deploymentMetadataBuilder_ == null) { - if (resourceMetadataCase_ == 8 && - resourceMetadata_ != com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance()) { - resourceMetadata_ = com.google.cloud.config.v1.DeploymentOperationMetadata.newBuilder((com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_) - .mergeFrom(value).buildPartial(); + if (resourceMetadataCase_ == 8 + && resourceMetadata_ + != com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance()) { + resourceMetadata_ = + com.google.cloud.config.v1.DeploymentOperationMetadata.newBuilder( + (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_) + .mergeFrom(value) + .buildPartial(); } else { resourceMetadata_ = value; } @@ -1173,11 +1304,15 @@ public Builder mergeDeploymentMetadata(com.google.cloud.config.v1.DeploymentOper return this; } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeploymentMetadata() { if (deploymentMetadataBuilder_ == null) { @@ -1196,24 +1331,34 @@ public Builder clearDeploymentMetadata() { return this; } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.DeploymentOperationMetadata.Builder getDeploymentMetadataBuilder() { + public com.google.cloud.config.v1.DeploymentOperationMetadata.Builder + getDeploymentMetadataBuilder() { return getDeploymentMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder getDeploymentMetadataOrBuilder() { + public com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder + getDeploymentMetadataOrBuilder() { if ((resourceMetadataCase_ == 8) && (deploymentMetadataBuilder_ != null)) { return deploymentMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1224,21 +1369,31 @@ public com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder getDeploy } } /** + * + * *
      * Output only. Metadata about the deployment operation state.
      * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.DeploymentOperationMetadata, com.google.cloud.config.v1.DeploymentOperationMetadata.Builder, com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder> + com.google.cloud.config.v1.DeploymentOperationMetadata, + com.google.cloud.config.v1.DeploymentOperationMetadata.Builder, + com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder> getDeploymentMetadataFieldBuilder() { if (deploymentMetadataBuilder_ == null) { if (!(resourceMetadataCase_ == 8)) { - resourceMetadata_ = com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance(); + resourceMetadata_ = + com.google.cloud.config.v1.DeploymentOperationMetadata.getDefaultInstance(); } - deploymentMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.DeploymentOperationMetadata, com.google.cloud.config.v1.DeploymentOperationMetadata.Builder, com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder>( + deploymentMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.DeploymentOperationMetadata, + com.google.cloud.config.v1.DeploymentOperationMetadata.Builder, + com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder>( (com.google.cloud.config.v1.DeploymentOperationMetadata) resourceMetadata_, getParentForChildren(), isClean()); @@ -1250,13 +1405,21 @@ public com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder getDeploy } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewOperationMetadata, com.google.cloud.config.v1.PreviewOperationMetadata.Builder, com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder> previewMetadataBuilder_; + com.google.cloud.config.v1.PreviewOperationMetadata, + com.google.cloud.config.v1.PreviewOperationMetadata.Builder, + com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder> + previewMetadataBuilder_; /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the previewMetadata field is set. */ @java.lang.Override @@ -1264,11 +1427,16 @@ public boolean hasPreviewMetadata() { return resourceMetadataCase_ == 9; } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The previewMetadata. */ @java.lang.Override @@ -1286,11 +1454,15 @@ public com.google.cloud.config.v1.PreviewOperationMetadata getPreviewMetadata() } } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPreviewMetadata(com.google.cloud.config.v1.PreviewOperationMetadata value) { if (previewMetadataBuilder_ == null) { @@ -1306,11 +1478,15 @@ public Builder setPreviewMetadata(com.google.cloud.config.v1.PreviewOperationMet return this; } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPreviewMetadata( com.google.cloud.config.v1.PreviewOperationMetadata.Builder builderForValue) { @@ -1324,18 +1500,26 @@ public Builder setPreviewMetadata( return this; } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePreviewMetadata(com.google.cloud.config.v1.PreviewOperationMetadata value) { if (previewMetadataBuilder_ == null) { - if (resourceMetadataCase_ == 9 && - resourceMetadata_ != com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance()) { - resourceMetadata_ = com.google.cloud.config.v1.PreviewOperationMetadata.newBuilder((com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_) - .mergeFrom(value).buildPartial(); + if (resourceMetadataCase_ == 9 + && resourceMetadata_ + != com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance()) { + resourceMetadata_ = + com.google.cloud.config.v1.PreviewOperationMetadata.newBuilder( + (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_) + .mergeFrom(value) + .buildPartial(); } else { resourceMetadata_ = value; } @@ -1351,11 +1535,15 @@ public Builder mergePreviewMetadata(com.google.cloud.config.v1.PreviewOperationM return this; } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPreviewMetadata() { if (previewMetadataBuilder_ == null) { @@ -1374,24 +1562,33 @@ public Builder clearPreviewMetadata() { return this; } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.PreviewOperationMetadata.Builder getPreviewMetadataBuilder() { return getPreviewMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMetadataOrBuilder() { + public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder + getPreviewMetadataOrBuilder() { if ((resourceMetadataCase_ == 9) && (previewMetadataBuilder_ != null)) { return previewMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1402,21 +1599,31 @@ public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMe } } /** + * + * *
      * Output only. Metadata about the preview operation state.
      * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewOperationMetadata, com.google.cloud.config.v1.PreviewOperationMetadata.Builder, com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder> + com.google.cloud.config.v1.PreviewOperationMetadata, + com.google.cloud.config.v1.PreviewOperationMetadata.Builder, + com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder> getPreviewMetadataFieldBuilder() { if (previewMetadataBuilder_ == null) { if (!(resourceMetadataCase_ == 9)) { - resourceMetadata_ = com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance(); + resourceMetadata_ = + com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance(); } - previewMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewOperationMetadata, com.google.cloud.config.v1.PreviewOperationMetadata.Builder, com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder>( + previewMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.PreviewOperationMetadata, + com.google.cloud.config.v1.PreviewOperationMetadata.Builder, + com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder>( (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_, getParentForChildren(), isClean()); @@ -1429,39 +1636,58 @@ public com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMe private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1477,14 +1703,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1495,17 +1724,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1520,11 +1753,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1537,11 +1774,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1549,36 +1790,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time when the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1586,24 +1839,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1614,11 +1878,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1634,14 +1901,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1652,17 +1921,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1677,11 +1949,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1694,11 +1969,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -1706,36 +1984,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Time when the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1743,18 +2029,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1763,20 +2051,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1784,28 +2073,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1815,17 +2111,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000010; @@ -1835,18 +2135,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1855,20 +2157,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1876,28 +2179,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1907,17 +2217,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000020; @@ -1927,18 +2241,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1947,20 +2263,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1968,28 +2285,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1999,17 +2323,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000040; @@ -2017,8 +2345,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation of the
      * operation. Operations that have successfully been cancelled have
@@ -2028,6 +2358,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -2035,6 +2366,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation of the
      * operation. Operations that have successfully been cancelled have
@@ -2044,6 +2377,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -2055,6 +2389,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation of the
      * operation. Operations that have successfully been cancelled have
@@ -2064,6 +2400,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -2075,18 +2412,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -2095,20 +2434,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -2116,28 +2456,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -2147,26 +2494,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000100; 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); } @@ -2176,12 +2527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.OperationMetadata) private static final com.google.cloud.config.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.OperationMetadata(); } @@ -2190,27 +2541,27 @@ public static com.google.cloud.config.v1.OperationMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2225,6 +2576,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java index 6dc10e10229b..b8d4259945db 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java @@ -1,182 +1,265 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Metadata about the deployment operation state.
    * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deploymentMetadata field is set. */ boolean hasDeploymentMetadata(); /** + * + * *
    * Output only. Metadata about the deployment operation state.
    * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deploymentMetadata. */ com.google.cloud.config.v1.DeploymentOperationMetadata getDeploymentMetadata(); /** + * + * *
    * Output only. Metadata about the deployment operation state.
    * 
* - * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.DeploymentOperationMetadataOrBuilder getDeploymentMetadataOrBuilder(); /** + * + * *
    * Output only. Metadata about the preview operation state.
    * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the previewMetadata field is set. */ boolean hasPreviewMetadata(); /** + * + * *
    * Output only. Metadata about the preview operation state.
    * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The previewMetadata. */ com.google.cloud.config.v1.PreviewOperationMetadata getPreviewMetadata(); /** + * + * *
    * Output only. Metadata about the preview operation state.
    * 
* - * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMetadataOrBuilder(); /** + * + * *
    * Output only. Time when the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Time when the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Time when the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation of the
    * operation. Operations that have successfully been cancelled have
@@ -186,29 +269,35 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); com.google.cloud.config.v1.OperationMetadata.ResourceMetadataCase getResourceMetadataCase(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java similarity index 69% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java index b0cfbfaff49f..a6ab32658eca 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Preview.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * A preview represents a set of actions Infra Manager would perform
  * to move the resources towards the desired state as specified in the
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.config.v1.Preview}
  */
-public final class Preview extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Preview extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.Preview)
     PreviewOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Preview.newBuilder() to construct.
   private Preview(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Preview() {
     name_ = "";
     state_ = 0;
@@ -39,14 +57,13 @@ private Preview() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Preview();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Preview_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Preview_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -57,28 +74,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 3:
         return internalGetLabels();
       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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Preview_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Preview_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.Preview.class, com.google.cloud.config.v1.Preview.Builder.class);
+            com.google.cloud.config.v1.Preview.class,
+            com.google.cloud.config.v1.Preview.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a preview.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Preview.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the state is unknown.
      * 
@@ -87,6 +109,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The preview is being created.
      * 
@@ -95,6 +119,8 @@ public enum State */ CREATING(1), /** + * + * *
      * The preview has succeeded.
      * 
@@ -103,6 +129,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The preview is being applied.
      * 
@@ -111,6 +139,8 @@ public enum State */ APPLYING(3), /** + * + * *
      * The preview is stale. A preview can become stale if a revision has been
      * applied after this preview was created.
@@ -120,6 +150,8 @@ public enum State
      */
     STALE(4),
     /**
+     *
+     *
      * 
      * The preview is being deleted.
      * 
@@ -128,6 +160,8 @@ public enum State */ DELETING(5), /** + * + * *
      * The preview has encountered an unexpected error.
      * 
@@ -136,6 +170,8 @@ public enum State */ FAILED(6), /** + * + * *
      * The preview has been deleted.
      * 
@@ -147,6 +183,8 @@ public enum State ; /** + * + * *
      * The default value. This value is used if the state is unknown.
      * 
@@ -155,6 +193,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The preview is being created.
      * 
@@ -163,6 +203,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * The preview has succeeded.
      * 
@@ -171,6 +213,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The preview is being applied.
      * 
@@ -179,6 +223,8 @@ public enum State */ public static final int APPLYING_VALUE = 3; /** + * + * *
      * The preview is stale. A preview can become stale if a revision has been
      * applied after this preview was created.
@@ -188,6 +234,8 @@ public enum State
      */
     public static final int STALE_VALUE = 4;
     /**
+     *
+     *
      * 
      * The preview is being deleted.
      * 
@@ -196,6 +244,8 @@ public enum State */ public static final int DELETING_VALUE = 5; /** + * + * *
      * The preview has encountered an unexpected error.
      * 
@@ -204,6 +254,8 @@ public enum State */ public static final int FAILED_VALUE = 6; /** + * + * *
      * The preview has been deleted.
      * 
@@ -212,7 +264,6 @@ public enum State */ public static final int DELETED_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -237,54 +288,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return SUCCEEDED; - case 3: return APPLYING; - case 4: return STALE; - case 5: return DELETING; - case 6: return FAILED; - case 7: return DELETED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return SUCCEEDED; + case 3: + return APPLYING; + case 4: + return STALE; + case 5: + return DELETING; + case 6: + return FAILED; + case 7: + return DELETED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Preview.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; @@ -302,15 +358,18 @@ private State(int value) { } /** + * + * *
    * Preview mode provides options for customizing preview operations.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Preview.PreviewMode} */ - public enum PreviewMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum PreviewMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified policy, default mode will be used.
      * 
@@ -319,6 +378,8 @@ public enum PreviewMode */ PREVIEW_MODE_UNSPECIFIED(0), /** + * + * *
      * DEFAULT mode generates an execution plan for reconciling current resource
      * state into expected resource state.
@@ -328,6 +389,8 @@ public enum PreviewMode
      */
     DEFAULT(1),
     /**
+     *
+     *
      * 
      * DELETE mode generates as execution plan for destroying current resources.
      * 
@@ -339,6 +402,8 @@ public enum PreviewMode ; /** + * + * *
      * Unspecified policy, default mode will be used.
      * 
@@ -347,6 +412,8 @@ public enum PreviewMode */ public static final int PREVIEW_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DEFAULT mode generates an execution plan for reconciling current resource
      * state into expected resource state.
@@ -356,6 +423,8 @@ public enum PreviewMode
      */
     public static final int DEFAULT_VALUE = 1;
     /**
+     *
+     *
      * 
      * DELETE mode generates as execution plan for destroying current resources.
      * 
@@ -364,7 +433,6 @@ public enum PreviewMode */ public static final int DELETE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -389,49 +457,49 @@ public static PreviewMode valueOf(int value) { */ public static PreviewMode forNumber(int value) { switch (value) { - case 0: return PREVIEW_MODE_UNSPECIFIED; - case 1: return DEFAULT; - case 2: return DELETE; - default: return null; + case 0: + return PREVIEW_MODE_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return DELETE; + 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< - PreviewMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PreviewMode findValueByNumber(int number) { - return PreviewMode.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 PreviewMode findValueByNumber(int number) { + return PreviewMode.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Preview.getDescriptor().getEnumTypes().get(1); } private static final PreviewMode[] VALUES = values(); - public static PreviewMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PreviewMode 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; @@ -449,15 +517,18 @@ private PreviewMode(int value) { } /** + * + * *
    * Possible errors that can occur with previews.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Preview.ErrorCode} */ - public enum ErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No error code was specified.
      * 
@@ -466,6 +537,8 @@ public enum ErrorCode */ ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build failed due to a permissions issue.
      * 
@@ -474,6 +547,8 @@ public enum ErrorCode */ CLOUD_BUILD_PERMISSION_DENIED(1), /** + * + * *
      * Cloud Storage bucket failed to create due to a permissions issue.
      * 
@@ -482,6 +557,8 @@ public enum ErrorCode */ BUCKET_CREATION_PERMISSION_DENIED(2), /** + * + * *
      * Cloud Storage bucket failed for a non-permissions-related issue.
      * 
@@ -490,6 +567,8 @@ public enum ErrorCode */ BUCKET_CREATION_FAILED(3), /** + * + * *
      * Acquiring lock on provided deployment reference failed.
      * 
@@ -498,6 +577,8 @@ public enum ErrorCode */ DEPLOYMENT_LOCK_ACQUIRE_FAILED(4), /** + * + * *
      * Preview encountered an error when trying to access Cloud Build API.
      * 
@@ -506,6 +587,8 @@ public enum ErrorCode */ PREVIEW_BUILD_API_FAILED(5), /** + * + * *
      * Preview created a build but build failed and logs were generated.
      * 
@@ -517,6 +600,8 @@ public enum ErrorCode ; /** + * + * *
      * No error code was specified.
      * 
@@ -525,6 +610,8 @@ public enum ErrorCode */ public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build failed due to a permissions issue.
      * 
@@ -533,6 +620,8 @@ public enum ErrorCode */ public static final int CLOUD_BUILD_PERMISSION_DENIED_VALUE = 1; /** + * + * *
      * Cloud Storage bucket failed to create due to a permissions issue.
      * 
@@ -541,6 +630,8 @@ public enum ErrorCode */ public static final int BUCKET_CREATION_PERMISSION_DENIED_VALUE = 2; /** + * + * *
      * Cloud Storage bucket failed for a non-permissions-related issue.
      * 
@@ -549,6 +640,8 @@ public enum ErrorCode */ public static final int BUCKET_CREATION_FAILED_VALUE = 3; /** + * + * *
      * Acquiring lock on provided deployment reference failed.
      * 
@@ -557,6 +650,8 @@ public enum ErrorCode */ public static final int DEPLOYMENT_LOCK_ACQUIRE_FAILED_VALUE = 4; /** + * + * *
      * Preview encountered an error when trying to access Cloud Build API.
      * 
@@ -565,6 +660,8 @@ public enum ErrorCode */ public static final int PREVIEW_BUILD_API_FAILED_VALUE = 5; /** + * + * *
      * Preview created a build but build failed and logs were generated.
      * 
@@ -573,7 +670,6 @@ public enum ErrorCode */ public static final int PREVIEW_BUILD_RUN_FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -598,53 +694,57 @@ public static ErrorCode valueOf(int value) { */ public static ErrorCode forNumber(int value) { switch (value) { - case 0: return ERROR_CODE_UNSPECIFIED; - case 1: return CLOUD_BUILD_PERMISSION_DENIED; - case 2: return BUCKET_CREATION_PERMISSION_DENIED; - case 3: return BUCKET_CREATION_FAILED; - case 4: return DEPLOYMENT_LOCK_ACQUIRE_FAILED; - case 5: return PREVIEW_BUILD_API_FAILED; - case 6: return PREVIEW_BUILD_RUN_FAILED; - default: return null; + case 0: + return ERROR_CODE_UNSPECIFIED; + case 1: + return CLOUD_BUILD_PERMISSION_DENIED; + case 2: + return BUCKET_CREATION_PERMISSION_DENIED; + case 3: + return BUCKET_CREATION_FAILED; + case 4: + return DEPLOYMENT_LOCK_ACQUIRE_FAILED; + case 5: + return PREVIEW_BUILD_API_FAILED; + case 6: + return PREVIEW_BUILD_RUN_FAILED; + 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< - ErrorCode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ErrorCode findValueByNumber(int number) { - return ErrorCode.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 ErrorCode findValueByNumber(int number) { + return ErrorCode.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Preview.getDescriptor().getEnumTypes().get(2); } private static final ErrorCode[] VALUES = values(); - public static ErrorCode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ErrorCode 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; @@ -663,14 +763,18 @@ private ErrorCode(int value) { private int bitField0_; private int blueprintCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object blueprint_; + public enum BlueprintCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TERRAFORM_BLUEPRINT(6), BLUEPRINT_NOT_SET(0); private final int value; + private BlueprintCase(int value) { this.value = value; } @@ -686,29 +790,34 @@ public static BlueprintCase valueOf(int value) { public static BlueprintCase forNumber(int value) { switch (value) { - case 6: return TERRAFORM_BLUEPRINT; - case 0: return BLUEPRINT_NOT_SET; - default: return null; + case 6: + return TERRAFORM_BLUEPRINT; + case 0: + return BLUEPRINT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public BlueprintCase - getBlueprintCase() { - return BlueprintCase.forNumber( - blueprintCase_); + public BlueprintCase getBlueprintCase() { + return BlueprintCase.forNumber(blueprintCase_); } public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER = 6; /** + * + * *
    * The terraform blueprint to preview.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return Whether the terraformBlueprint field is set. */ @java.lang.Override @@ -716,21 +825,26 @@ public boolean hasTerraformBlueprint() { return blueprintCase_ == 6; } /** + * + * *
    * The terraform blueprint to preview.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return The terraformBlueprint. */ @java.lang.Override public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { if (blueprintCase_ == 6) { - return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; + return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; } return com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } /** + * + * *
    * The terraform blueprint to preview.
    * 
@@ -740,15 +854,18 @@ public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { @java.lang.Override public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder() { if (blueprintCase_ == 6) { - return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; + return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; } return com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Identifier. Resource name of the preview. Resource name can be user
    * provided or server generated ID if unspecified. Format:
@@ -756,6 +873,7 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return The name. */ @java.lang.Override @@ -764,14 +882,15 @@ 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; } } /** + * + * *
    * Identifier. Resource name of the preview. Resource name can be user
    * provided or server generated ID if unspecified. Format:
@@ -779,16 +898,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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 { @@ -799,11 +917,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time the preview was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -811,11 +933,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. Time the preview was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -823,11 +949,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time the preview was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -835,32 +964,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 3; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Preview_LabelsEntry_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.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
@@ -868,20 +999,21 @@ public int getLabelsCount() { * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
@@ -893,6 +1025,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
@@ -900,17 +1034,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
@@ -918,11 +1054,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -932,33 +1068,49 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** + * + * *
    * Output only. Current state of the preview.
    * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.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. Current state of the preview.
    * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.config.v1.Preview.State getState() { - com.google.cloud.config.v1.Preview.State result = com.google.cloud.config.v1.Preview.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.config.v1.Preview.State getState() { + com.google.cloud.config.v1.Preview.State result = + com.google.cloud.config.v1.Preview.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Preview.State.UNRECOGNIZED : result; } public static final int DEPLOYMENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object deployment_ = ""; /** + * + * *
    * Optional. Optional deployment reference. If specified, the preview will be
    * performed using the provided deployment's current state and use any
@@ -966,7 +1118,10 @@ public java.lang.String getLabelsOrThrow(
    * preview create request.
    * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The deployment. */ @java.lang.Override @@ -975,14 +1130,15 @@ public java.lang.String getDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deployment_ = s; return s; } } /** + * + * *
    * Optional. Optional deployment reference. If specified, the preview will be
    * performed using the provided deployment's current state and use any
@@ -990,17 +1146,18 @@ public java.lang.String getDeployment() {
    * preview create request.
    * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for deployment. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentBytes() { + public com.google.protobuf.ByteString getDeploymentBytes() { java.lang.Object ref = deployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deployment_ = b; return b; } else { @@ -1011,40 +1168,59 @@ public java.lang.String getDeployment() { public static final int PREVIEW_MODE_FIELD_NUMBER = 15; private int previewMode_ = 0; /** + * + * *
    * Optional. Current mode of preview.
    * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for previewMode. */ - @java.lang.Override public int getPreviewModeValue() { + @java.lang.Override + public int getPreviewModeValue() { return previewMode_; } /** + * + * *
    * Optional. Current mode of preview.
    * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The previewMode. */ - @java.lang.Override public com.google.cloud.config.v1.Preview.PreviewMode getPreviewMode() { - com.google.cloud.config.v1.Preview.PreviewMode result = com.google.cloud.config.v1.Preview.PreviewMode.forNumber(previewMode_); + @java.lang.Override + public com.google.cloud.config.v1.Preview.PreviewMode getPreviewMode() { + com.google.cloud.config.v1.Preview.PreviewMode result = + com.google.cloud.config.v1.Preview.PreviewMode.forNumber(previewMode_); return result == null ? com.google.cloud.config.v1.Preview.PreviewMode.UNRECOGNIZED : result; } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * previewing resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ @java.lang.Override @@ -1053,31 +1229,33 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * previewing resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1086,9 +1264,12 @@ public java.lang.String getServiceAccount() { } public static final int ARTIFACTS_GCS_BUCKET_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object artifactsGcsBucket_ = ""; /** + * + * *
    * Optional. User-defined location of Cloud Build logs, artifacts, and
    * in Google Cloud Storage.
@@ -1102,7 +1283,9 @@ public java.lang.String getServiceAccount() {
    * defined, that artifact bucket is used.
    * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the artifactsGcsBucket field is set. */ @java.lang.Override @@ -1110,6 +1293,8 @@ public boolean hasArtifactsGcsBucket() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Optional. User-defined location of Cloud Build logs, artifacts, and
    * in Google Cloud Storage.
@@ -1123,7 +1308,9 @@ public boolean hasArtifactsGcsBucket() {
    * defined, that artifact bucket is used.
    * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The artifactsGcsBucket. */ @java.lang.Override @@ -1132,14 +1319,15 @@ public java.lang.String getArtifactsGcsBucket() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactsGcsBucket_ = s; return s; } } /** + * + * *
    * Optional. User-defined location of Cloud Build logs, artifacts, and
    * in Google Cloud Storage.
@@ -1153,17 +1341,17 @@ public java.lang.String getArtifactsGcsBucket() {
    * defined, that artifact bucket is used.
    * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for artifactsGcsBucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactsGcsBucketBytes() { + public com.google.protobuf.ByteString getArtifactsGcsBucketBytes() { java.lang.Object ref = artifactsGcsBucket_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactsGcsBucket_ = b; return b; } else { @@ -1172,9 +1360,12 @@ public java.lang.String getArtifactsGcsBucket() { } public static final int WORKER_POOL_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object workerPool_ = ""; /** + * + * *
    * Optional. The user-specified Worker Pool resource in which the Cloud Build
    * job will execute. Format
@@ -1184,7 +1375,10 @@ public java.lang.String getArtifactsGcsBucket() {
    * worker pool is used.
    * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workerPool field is set. */ @java.lang.Override @@ -1192,6 +1386,8 @@ public boolean hasWorkerPool() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Optional. The user-specified Worker Pool resource in which the Cloud Build
    * job will execute. Format
@@ -1201,7 +1397,10 @@ public boolean hasWorkerPool() {
    * worker pool is used.
    * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ @java.lang.Override @@ -1210,14 +1409,15 @@ public java.lang.String getWorkerPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerPool_ = s; return s; } } /** + * + * *
    * Optional. The user-specified Worker Pool resource in which the Cloud Build
    * job will execute. Format
@@ -1227,17 +1427,18 @@ public java.lang.String getWorkerPool() {
    * worker pool is used.
    * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workerPool_ = b; return b; } else { @@ -1248,37 +1449,53 @@ public java.lang.String getWorkerPool() { public static final int ERROR_CODE_FIELD_NUMBER = 10; private int errorCode_ = 0; /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ - @java.lang.Override public com.google.cloud.config.v1.Preview.ErrorCode getErrorCode() { - com.google.cloud.config.v1.Preview.ErrorCode result = com.google.cloud.config.v1.Preview.ErrorCode.forNumber(errorCode_); + @java.lang.Override + public com.google.cloud.config.v1.Preview.ErrorCode getErrorCode() { + com.google.cloud.config.v1.Preview.ErrorCode result = + com.google.cloud.config.v1.Preview.ErrorCode.forNumber(errorCode_); return result == null ? com.google.cloud.config.v1.Preview.ErrorCode.UNRECOGNIZED : result; } public static final int ERROR_STATUS_FIELD_NUMBER = 11; private com.google.rpc.Status errorStatus_; /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the errorStatus field is set. */ @java.lang.Override @@ -1286,11 +1503,14 @@ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorStatus. */ @java.lang.Override @@ -1298,6 +1518,8 @@ public com.google.rpc.Status getErrorStatus() { return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
@@ -1310,14 +1532,18 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { } public static final int BUILD_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object build_ = ""; /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ @java.lang.Override @@ -1326,29 +1552,29 @@ public java.lang.String getBuild() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; } } /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -1357,75 +1583,98 @@ public java.lang.String getBuild() { } public static final int TF_ERRORS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private java.util.List tfErrors_; /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getTfErrorsList() { return tfErrors_; } /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTfErrorsOrBuilderList() { return tfErrors_; } /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTfErrorsCount() { return tfErrors_.size(); } /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { return tfErrors_.get(index); } /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index) { + public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index) { return tfErrors_.get(index); } public static final int ERROR_LOGS_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object errorLogs_ = ""; /** + * + * *
    * Output only. Link to tf-error.ndjson file, which contains the full list of
    * the errors encountered during a Terraform preview.
@@ -1433,6 +1682,7 @@ public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ @java.lang.Override @@ -1441,14 +1691,15 @@ public java.lang.String getErrorLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorLogs_ = s; return s; } } /** + * + * *
    * Output only. Link to tf-error.ndjson file, which contains the full list of
    * the errors encountered during a Terraform preview.
@@ -1456,16 +1707,15 @@ public java.lang.String getErrorLogs() {
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorLogsBytes() { + public com.google.protobuf.ByteString getErrorLogsBytes() { java.lang.Object ref = errorLogs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorLogs_ = b; return b; } else { @@ -1476,11 +1726,16 @@ public java.lang.String getErrorLogs() { public static final int PREVIEW_ARTIFACTS_FIELD_NUMBER = 16; private com.google.cloud.config.v1.PreviewArtifacts previewArtifacts_; /** + * + * *
    * Output only. Artifacts from preview.
    * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the previewArtifacts field is set. */ @java.lang.Override @@ -1488,38 +1743,55 @@ public boolean hasPreviewArtifacts() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
    * Output only. Artifacts from preview.
    * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The previewArtifacts. */ @java.lang.Override public com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts() { - return previewArtifacts_ == null ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } /** + * + * *
    * Output only. Artifacts from preview.
    * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder() { - return previewArtifacts_ == null ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } public static final int LOGS_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object logs_ = ""; /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ @java.lang.Override @@ -1528,29 +1800,29 @@ public java.lang.String getLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; } } /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -1559,6 +1831,7 @@ public java.lang.String getLogs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1570,20 +1843,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getCreateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); if (state_ != com.google.cloud.config.v1.Preview.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } @@ -1602,7 +1870,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, workerPool_); } - if (errorCode_ != com.google.cloud.config.v1.Preview.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + if (errorCode_ + != com.google.cloud.config.v1.Preview.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(10, errorCode_); } if (((bitField0_ & 0x00000008) != 0)) { @@ -1617,7 +1886,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorLogs_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, errorLogs_); } - if (previewMode_ != com.google.cloud.config.v1.Preview.PreviewMode.PREVIEW_MODE_UNSPECIFIED.getNumber()) { + if (previewMode_ + != com.google.cloud.config.v1.Preview.PreviewMode.PREVIEW_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(15, previewMode_); } if (((bitField0_ & 0x00000010) != 0)) { @@ -1639,29 +1909,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, labels__); } if (state_ != com.google.cloud.config.v1.Preview.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deployment_); } if (blueprintCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.config.v1.TerraformBlueprint) blueprint_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.config.v1.TerraformBlueprint) blueprint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serviceAccount_); @@ -1672,31 +1941,28 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, workerPool_); } - if (errorCode_ != com.google.cloud.config.v1.Preview.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, errorCode_); + if (errorCode_ + != com.google.cloud.config.v1.Preview.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, errorCode_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getErrorStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getErrorStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, build_); } for (int i = 0; i < tfErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, tfErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, tfErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorLogs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, errorLogs_); } - if (previewMode_ != com.google.cloud.config.v1.Preview.PreviewMode.PREVIEW_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, previewMode_); + if (previewMode_ + != com.google.cloud.config.v1.Preview.PreviewMode.PREVIEW_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, previewMode_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getPreviewArtifacts()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getPreviewArtifacts()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, logs_); @@ -1709,62 +1975,48 @@ 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.config.v1.Preview)) { return super.equals(obj); } com.google.cloud.config.v1.Preview other = (com.google.cloud.config.v1.Preview) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; - if (!getDeployment() - .equals(other.getDeployment())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; if (previewMode_ != other.previewMode_) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasArtifactsGcsBucket() != other.hasArtifactsGcsBucket()) return false; if (hasArtifactsGcsBucket()) { - if (!getArtifactsGcsBucket() - .equals(other.getArtifactsGcsBucket())) return false; + if (!getArtifactsGcsBucket().equals(other.getArtifactsGcsBucket())) return false; } if (hasWorkerPool() != other.hasWorkerPool()) return false; if (hasWorkerPool()) { - if (!getWorkerPool() - .equals(other.getWorkerPool())) return false; + if (!getWorkerPool().equals(other.getWorkerPool())) return false; } if (errorCode_ != other.errorCode_) return false; if (hasErrorStatus() != other.hasErrorStatus()) return false; if (hasErrorStatus()) { - if (!getErrorStatus() - .equals(other.getErrorStatus())) return false; - } - if (!getBuild() - .equals(other.getBuild())) return false; - if (!getTfErrorsList() - .equals(other.getTfErrorsList())) return false; - if (!getErrorLogs() - .equals(other.getErrorLogs())) return false; + if (!getErrorStatus().equals(other.getErrorStatus())) return false; + } + if (!getBuild().equals(other.getBuild())) return false; + if (!getTfErrorsList().equals(other.getTfErrorsList())) return false; + if (!getErrorLogs().equals(other.getErrorLogs())) return false; if (hasPreviewArtifacts() != other.hasPreviewArtifacts()) return false; if (hasPreviewArtifacts()) { - if (!getPreviewArtifacts() - .equals(other.getPreviewArtifacts())) return false; + if (!getPreviewArtifacts().equals(other.getPreviewArtifacts())) return false; } - if (!getLogs() - .equals(other.getLogs())) return false; + if (!getLogs().equals(other.getLogs())) return false; if (!getBlueprintCase().equals(other.getBlueprintCase())) return false; switch (blueprintCase_) { case 6: - if (!getTerraformBlueprint() - .equals(other.getTerraformBlueprint())) return false; + if (!getTerraformBlueprint().equals(other.getTerraformBlueprint())) return false; break; case 0: default: @@ -1839,99 +2091,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.Preview parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.Preview parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Preview 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.config.v1.Preview parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.Preview parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Preview parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.Preview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Preview 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.config.v1.Preview 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.config.v1.Preview 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.config.v1.Preview parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.Preview 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.config.v1.Preview 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.config.v1.Preview 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.config.v1.Preview 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; } /** + * + * *
    * A preview represents a set of actions Infra Manager would perform
    * to move the resources towards the desired state as specified in the
@@ -1940,13 +2196,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.Preview}
    */
-  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.config.v1.Preview)
       com.google.cloud.config.v1.PreviewOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Preview_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Preview_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -1956,10 +2212,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 3:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -1967,16 +2223,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 3:
           return internalGetMutableLabels();
         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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Preview_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Preview_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.Preview.class, com.google.cloud.config.v1.Preview.Builder.class);
+              com.google.cloud.config.v1.Preview.class,
+              com.google.cloud.config.v1.Preview.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.Preview.newBuilder()
@@ -1984,20 +2242,20 @@ 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) {
         getCreateTimeFieldBuilder();
         getErrorStatusFieldBuilder();
         getTfErrorsFieldBuilder();
         getPreviewArtifactsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2045,9 +2303,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Preview_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Preview_descriptor;
     }
 
     @java.lang.Override
@@ -2068,7 +2326,9 @@ public com.google.cloud.config.v1.Preview build() {
     public com.google.cloud.config.v1.Preview buildPartial() {
       com.google.cloud.config.v1.Preview result = new com.google.cloud.config.v1.Preview(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2093,9 +2353,7 @@ private void buildPartial0(com.google.cloud.config.v1.Preview result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -2126,9 +2384,8 @@ private void buildPartial0(com.google.cloud.config.v1.Preview result) {
         result.errorCode_ = errorCode_;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.errorStatus_ = errorStatusBuilder_ == null
-            ? errorStatus_
-            : errorStatusBuilder_.build();
+        result.errorStatus_ =
+            errorStatusBuilder_ == null ? errorStatus_ : errorStatusBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
@@ -2138,9 +2395,8 @@ private void buildPartial0(com.google.cloud.config.v1.Preview result) {
         result.errorLogs_ = errorLogs_;
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.previewArtifacts_ = previewArtifactsBuilder_ == null
-            ? previewArtifacts_
-            : previewArtifactsBuilder_.build();
+        result.previewArtifacts_ =
+            previewArtifactsBuilder_ == null ? previewArtifacts_ : previewArtifactsBuilder_.build();
         to_bitField0_ |= 0x00000010;
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
@@ -2152,8 +2408,7 @@ private void buildPartial0(com.google.cloud.config.v1.Preview result) {
     private void buildPartialOneofs(com.google.cloud.config.v1.Preview result) {
       result.blueprintCase_ = blueprintCase_;
       result.blueprint_ = this.blueprint_;
-      if (blueprintCase_ == 6 &&
-          terraformBlueprintBuilder_ != null) {
+      if (blueprintCase_ == 6 && terraformBlueprintBuilder_ != null) {
         result.blueprint_ = terraformBlueprintBuilder_.build();
       }
     }
@@ -2162,38 +2417,39 @@ private void buildPartialOneofs(com.google.cloud.config.v1.Preview result) {
     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.config.v1.Preview) {
-        return mergeFrom((com.google.cloud.config.v1.Preview)other);
+        return mergeFrom((com.google.cloud.config.v1.Preview) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2210,8 +2466,7 @@ public Builder mergeFrom(com.google.cloud.config.v1.Preview other) {
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000008;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -2268,9 +2523,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.Preview other) {
             tfErrorsBuilder_ = null;
             tfErrors_ = other.tfErrors_;
             bitField0_ = (bitField0_ & ~0x00002000);
-            tfErrorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTfErrorsFieldBuilder() : null;
+            tfErrorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTfErrorsFieldBuilder()
+                    : null;
           } else {
             tfErrorsBuilder_.addAllMessages(other.tfErrors_);
           }
@@ -2290,13 +2546,15 @@ public Builder mergeFrom(com.google.cloud.config.v1.Preview other) {
         onChanged();
       }
       switch (other.getBlueprintCase()) {
-        case TERRAFORM_BLUEPRINT: {
-          mergeTerraformBlueprint(other.getTerraformBlueprint());
-          break;
-        }
-        case BLUEPRINT_NOT_SET: {
-          break;
-        }
+        case TERRAFORM_BLUEPRINT:
+          {
+            mergeTerraformBlueprint(other.getTerraformBlueprint());
+            break;
+          }
+        case BLUEPRINT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2324,117 +2582,130 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 32: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 32
-            case 42: {
-              deployment_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getTerraformBlueprintFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              blueprintCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              serviceAccount_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              artifactsGcsBucket_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 66
-            case 74: {
-              workerPool_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 74
-            case 80: {
-              errorCode_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 80
-            case 90: {
-              input.readMessage(
-                  getErrorStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 90
-            case 98: {
-              build_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 98
-            case 106: {
-              com.google.cloud.config.v1.TerraformError m =
-                  input.readMessage(
-                      com.google.cloud.config.v1.TerraformError.parser(),
-                      extensionRegistry);
-              if (tfErrorsBuilder_ == null) {
-                ensureTfErrorsIsMutable();
-                tfErrors_.add(m);
-              } else {
-                tfErrorsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 106
-            case 114: {
-              errorLogs_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 114
-            case 120: {
-              previewMode_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 120
-            case 130: {
-              input.readMessage(
-                  getPreviewArtifactsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 130
-            case 138: {
-              logs_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 138
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 32:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 32
+            case 42:
+              {
+                deployment_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getTerraformBlueprintFieldBuilder().getBuilder(), extensionRegistry);
+                blueprintCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                artifactsGcsBucket_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 66
+            case 74:
+              {
+                workerPool_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 74
+            case 80:
+              {
+                errorCode_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 80
+            case 90:
+              {
+                input.readMessage(getErrorStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 90
+            case 98:
+              {
+                build_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.cloud.config.v1.TerraformError m =
+                    input.readMessage(
+                        com.google.cloud.config.v1.TerraformError.parser(), extensionRegistry);
+                if (tfErrorsBuilder_ == null) {
+                  ensureTfErrorsIsMutable();
+                  tfErrors_.add(m);
+                } else {
+                  tfErrorsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 106
+            case 114:
+              {
+                errorLogs_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 114
+            case 120:
+              {
+                previewMode_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 120
+            case 130:
+              {
+                input.readMessage(
+                    getPreviewArtifactsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 130
+            case 138:
+              {
+                logs_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 138
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2444,12 +2715,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int blueprintCase_ = 0;
     private java.lang.Object blueprint_;
-    public BlueprintCase
-        getBlueprintCase() {
-      return BlueprintCase.forNumber(
-          blueprintCase_);
+
+    public BlueprintCase getBlueprintCase() {
+      return BlueprintCase.forNumber(blueprintCase_);
     }
 
     public Builder clearBlueprint() {
@@ -2462,13 +2733,19 @@ public Builder clearBlueprint() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder> terraformBlueprintBuilder_;
+            com.google.cloud.config.v1.TerraformBlueprint,
+            com.google.cloud.config.v1.TerraformBlueprint.Builder,
+            com.google.cloud.config.v1.TerraformBlueprintOrBuilder>
+        terraformBlueprintBuilder_;
     /**
+     *
+     *
      * 
      * The terraform blueprint to preview.
      * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return Whether the terraformBlueprint field is set. */ @java.lang.Override @@ -2476,11 +2753,14 @@ public boolean hasTerraformBlueprint() { return blueprintCase_ == 6; } /** + * + * *
      * The terraform blueprint to preview.
      * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return The terraformBlueprint. */ @java.lang.Override @@ -2498,6 +2778,8 @@ public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { } } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2518,6 +2800,8 @@ public Builder setTerraformBlueprint(com.google.cloud.config.v1.TerraformBluepri return this; } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2536,6 +2820,8 @@ public Builder setTerraformBlueprint( return this; } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2544,10 +2830,13 @@ public Builder setTerraformBlueprint( */ public Builder mergeTerraformBlueprint(com.google.cloud.config.v1.TerraformBlueprint value) { if (terraformBlueprintBuilder_ == null) { - if (blueprintCase_ == 6 && - blueprint_ != com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) { - blueprint_ = com.google.cloud.config.v1.TerraformBlueprint.newBuilder((com.google.cloud.config.v1.TerraformBlueprint) blueprint_) - .mergeFrom(value).buildPartial(); + if (blueprintCase_ == 6 + && blueprint_ != com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) { + blueprint_ = + com.google.cloud.config.v1.TerraformBlueprint.newBuilder( + (com.google.cloud.config.v1.TerraformBlueprint) blueprint_) + .mergeFrom(value) + .buildPartial(); } else { blueprint_ = value; } @@ -2563,6 +2852,8 @@ public Builder mergeTerraformBlueprint(com.google.cloud.config.v1.TerraformBluep return this; } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2586,6 +2877,8 @@ public Builder clearTerraformBlueprint() { return this; } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2596,6 +2889,8 @@ public com.google.cloud.config.v1.TerraformBlueprint.Builder getTerraformBluepri return getTerraformBlueprintFieldBuilder().getBuilder(); } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2614,6 +2909,8 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr } } /** + * + * *
      * The terraform blueprint to preview.
      * 
@@ -2621,14 +2918,19 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder> + com.google.cloud.config.v1.TerraformBlueprint, + com.google.cloud.config.v1.TerraformBlueprint.Builder, + com.google.cloud.config.v1.TerraformBlueprintOrBuilder> getTerraformBlueprintFieldBuilder() { if (terraformBlueprintBuilder_ == null) { if (!(blueprintCase_ == 6)) { blueprint_ = com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } - terraformBlueprintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder>( + terraformBlueprintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.TerraformBlueprint, + com.google.cloud.config.v1.TerraformBlueprint.Builder, + com.google.cloud.config.v1.TerraformBlueprintOrBuilder>( (com.google.cloud.config.v1.TerraformBlueprint) blueprint_, getParentForChildren(), isClean()); @@ -2641,6 +2943,8 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr private java.lang.Object name_ = ""; /** + * + * *
      * Identifier. Resource name of the preview. Resource name can be user
      * provided or server generated ID if unspecified. Format:
@@ -2648,13 +2952,13 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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; @@ -2663,6 +2967,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Identifier. Resource name of the preview. Resource name can be user
      * provided or server generated ID if unspecified. Format:
@@ -2670,15 +2976,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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 { @@ -2686,6 +2991,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Identifier. Resource name of the preview. Resource name can be user
      * provided or server generated ID if unspecified. Format:
@@ -2693,18 +3000,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Identifier. Resource name of the preview. Resource name can be user
      * provided or server generated ID if unspecified. Format:
@@ -2712,6 +3023,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2721,6 +3033,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Identifier. Resource name of the preview. Resource name can be user
      * provided or server generated ID if unspecified. Format:
@@ -2728,12 +3042,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -2743,39 +3059,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2791,14 +3126,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2809,17 +3147,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2834,11 +3176,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2851,11 +3197,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2863,56 +3213,66 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time the preview was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2921,10 +3281,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
@@ -2932,20 +3295,21 @@ public int getLabelsCount() { * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
@@ -2957,6 +3321,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
@@ -2964,17 +3330,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
@@ -2982,95 +3350,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
* * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
* * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Optional. User-defined labels for the preview.
      * 
* * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } private int state_ = 0; /** + * + * *
      * Output only. Current state of the preview.
      * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.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. Current state of the preview.
      * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.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. */ @@ -3081,24 +3462,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the preview.
      * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.config.v1.Preview.State getState() { - com.google.cloud.config.v1.Preview.State result = com.google.cloud.config.v1.Preview.State.forNumber(state_); + com.google.cloud.config.v1.Preview.State result = + com.google.cloud.config.v1.Preview.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Preview.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the preview.
      * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3112,11 +3504,16 @@ public Builder setState(com.google.cloud.config.v1.Preview.State value) { return this; } /** + * + * *
      * Output only. Current state of the preview.
      * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3128,6 +3525,8 @@ public Builder clearState() { private java.lang.Object deployment_ = ""; /** + * + * *
      * Optional. Optional deployment reference. If specified, the preview will be
      * performed using the provided deployment's current state and use any
@@ -3135,14 +3534,16 @@ public Builder clearState() {
      * preview create request.
      * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The deployment. */ public java.lang.String getDeployment() { java.lang.Object ref = deployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deployment_ = s; return s; @@ -3151,6 +3552,8 @@ public java.lang.String getDeployment() { } } /** + * + * *
      * Optional. Optional deployment reference. If specified, the preview will be
      * performed using the provided deployment's current state and use any
@@ -3158,16 +3561,17 @@ public java.lang.String getDeployment() {
      * preview create request.
      * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for deployment. */ - public com.google.protobuf.ByteString - getDeploymentBytes() { + public com.google.protobuf.ByteString getDeploymentBytes() { java.lang.Object ref = deployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deployment_ = b; return b; } else { @@ -3175,6 +3579,8 @@ public java.lang.String getDeployment() { } } /** + * + * *
      * Optional. Optional deployment reference. If specified, the preview will be
      * performed using the provided deployment's current state and use any
@@ -3182,19 +3588,25 @@ public java.lang.String getDeployment() {
      * preview create request.
      * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The deployment to set. * @return This builder for chaining. */ - public Builder setDeployment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeployment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } deployment_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. Optional deployment reference. If specified, the preview will be
      * performed using the provided deployment's current state and use any
@@ -3202,7 +3614,10 @@ public Builder setDeployment(
      * preview create request.
      * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDeployment() { @@ -3212,6 +3627,8 @@ public Builder clearDeployment() { return this; } /** + * + * *
      * Optional. Optional deployment reference. If specified, the preview will be
      * performed using the provided deployment's current state and use any
@@ -3219,13 +3636,17 @@ public Builder clearDeployment() {
      * preview create request.
      * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for deployment to set. * @return This builder for chaining. */ - public Builder setDeploymentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeploymentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); deployment_ = value; bitField0_ |= 0x00000020; @@ -3235,22 +3656,33 @@ public Builder setDeploymentBytes( private int previewMode_ = 0; /** + * + * *
      * Optional. Current mode of preview.
      * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for previewMode. */ - @java.lang.Override public int getPreviewModeValue() { + @java.lang.Override + public int getPreviewModeValue() { return previewMode_; } /** + * + * *
      * Optional. Current mode of preview.
      * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for previewMode to set. * @return This builder for chaining. */ @@ -3261,24 +3693,35 @@ public Builder setPreviewModeValue(int value) { return this; } /** + * + * *
      * Optional. Current mode of preview.
      * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The previewMode. */ @java.lang.Override public com.google.cloud.config.v1.Preview.PreviewMode getPreviewMode() { - com.google.cloud.config.v1.Preview.PreviewMode result = com.google.cloud.config.v1.Preview.PreviewMode.forNumber(previewMode_); + com.google.cloud.config.v1.Preview.PreviewMode result = + com.google.cloud.config.v1.Preview.PreviewMode.forNumber(previewMode_); return result == null ? com.google.cloud.config.v1.Preview.PreviewMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Current mode of preview.
      * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The previewMode to set. * @return This builder for chaining. */ @@ -3292,11 +3735,16 @@ public Builder setPreviewMode(com.google.cloud.config.v1.Preview.PreviewMode val return this; } /** + * + * *
      * Optional. Current mode of preview.
      * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPreviewMode() { @@ -3308,20 +3756,24 @@ public Builder clearPreviewMode() { private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * previewing resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -3330,22 +3782,25 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * previewing resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -3353,32 +3808,43 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * previewing resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * previewing resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -3388,19 +3854,25 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Optional. User-specified Service Account (SA) credentials to be used when
      * previewing resources.
      * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00000080; @@ -3410,6 +3882,8 @@ public Builder setServiceAccountBytes( private java.lang.Object artifactsGcsBucket_ = ""; /** + * + * *
      * Optional. User-defined location of Cloud Build logs, artifacts, and
      * in Google Cloud Storage.
@@ -3423,13 +3897,17 @@ public Builder setServiceAccountBytes(
      * defined, that artifact bucket is used.
      * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the artifactsGcsBucket field is set. */ public boolean hasArtifactsGcsBucket() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Optional. User-defined location of Cloud Build logs, artifacts, and
      * in Google Cloud Storage.
@@ -3443,14 +3921,15 @@ public boolean hasArtifactsGcsBucket() {
      * defined, that artifact bucket is used.
      * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The artifactsGcsBucket. */ public java.lang.String getArtifactsGcsBucket() { java.lang.Object ref = artifactsGcsBucket_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactsGcsBucket_ = s; return s; @@ -3459,6 +3938,8 @@ public java.lang.String getArtifactsGcsBucket() { } } /** + * + * *
      * Optional. User-defined location of Cloud Build logs, artifacts, and
      * in Google Cloud Storage.
@@ -3472,16 +3953,16 @@ public java.lang.String getArtifactsGcsBucket() {
      * defined, that artifact bucket is used.
      * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for artifactsGcsBucket. */ - public com.google.protobuf.ByteString - getArtifactsGcsBucketBytes() { + public com.google.protobuf.ByteString getArtifactsGcsBucketBytes() { java.lang.Object ref = artifactsGcsBucket_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactsGcsBucket_ = b; return b; } else { @@ -3489,6 +3970,8 @@ public java.lang.String getArtifactsGcsBucket() { } } /** + * + * *
      * Optional. User-defined location of Cloud Build logs, artifacts, and
      * in Google Cloud Storage.
@@ -3502,19 +3985,24 @@ public java.lang.String getArtifactsGcsBucket() {
      * defined, that artifact bucket is used.
      * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The artifactsGcsBucket to set. * @return This builder for chaining. */ - public Builder setArtifactsGcsBucket( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactsGcsBucket(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifactsGcsBucket_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. User-defined location of Cloud Build logs, artifacts, and
      * in Google Cloud Storage.
@@ -3528,7 +4016,9 @@ public Builder setArtifactsGcsBucket(
      * defined, that artifact bucket is used.
      * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearArtifactsGcsBucket() { @@ -3538,6 +4028,8 @@ public Builder clearArtifactsGcsBucket() { return this; } /** + * + * *
      * Optional. User-defined location of Cloud Build logs, artifacts, and
      * in Google Cloud Storage.
@@ -3551,13 +4043,16 @@ public Builder clearArtifactsGcsBucket() {
      * defined, that artifact bucket is used.
      * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for artifactsGcsBucket to set. * @return This builder for chaining. */ - public Builder setArtifactsGcsBucketBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactsGcsBucketBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifactsGcsBucket_ = value; bitField0_ |= 0x00000100; @@ -3567,6 +4062,8 @@ public Builder setArtifactsGcsBucketBytes( private java.lang.Object workerPool_ = ""; /** + * + * *
      * Optional. The user-specified Worker Pool resource in which the Cloud Build
      * job will execute. Format
@@ -3576,13 +4073,18 @@ public Builder setArtifactsGcsBucketBytes(
      * worker pool is used.
      * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workerPool field is set. */ public boolean hasWorkerPool() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Optional. The user-specified Worker Pool resource in which the Cloud Build
      * job will execute. Format
@@ -3592,14 +4094,16 @@ public boolean hasWorkerPool() {
      * worker pool is used.
      * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ public java.lang.String getWorkerPool() { java.lang.Object ref = workerPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerPool_ = s; return s; @@ -3608,6 +4112,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Optional. The user-specified Worker Pool resource in which the Cloud Build
      * job will execute. Format
@@ -3617,16 +4123,17 @@ public java.lang.String getWorkerPool() {
      * worker pool is used.
      * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workerPool_ = b; return b; } else { @@ -3634,6 +4141,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Optional. The user-specified Worker Pool resource in which the Cloud Build
      * job will execute. Format
@@ -3643,19 +4152,25 @@ public java.lang.String getWorkerPool() {
      * worker pool is used.
      * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPool( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workerPool_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Optional. The user-specified Worker Pool resource in which the Cloud Build
      * job will execute. Format
@@ -3665,7 +4180,10 @@ public Builder setWorkerPool(
      * worker pool is used.
      * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkerPool() { @@ -3675,6 +4193,8 @@ public Builder clearWorkerPool() { return this; } /** + * + * *
      * Optional. The user-specified Worker Pool resource in which the Cloud Build
      * job will execute. Format
@@ -3684,13 +4204,17 @@ public Builder clearWorkerPool() {
      * worker pool is used.
      * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPoolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workerPool_ = value; bitField0_ |= 0x00000200; @@ -3700,22 +4224,33 @@ public Builder setWorkerPoolBytes( private int errorCode_ = 0; /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for errorCode to set. * @return This builder for chaining. */ @@ -3726,24 +4261,35 @@ public Builder setErrorCodeValue(int value) { return this; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ @java.lang.Override public com.google.cloud.config.v1.Preview.ErrorCode getErrorCode() { - com.google.cloud.config.v1.Preview.ErrorCode result = com.google.cloud.config.v1.Preview.ErrorCode.forNumber(errorCode_); + com.google.cloud.config.v1.Preview.ErrorCode result = + com.google.cloud.config.v1.Preview.ErrorCode.forNumber(errorCode_); return result == null ? com.google.cloud.config.v1.Preview.ErrorCode.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The errorCode to set. * @return This builder for chaining. */ @@ -3757,11 +4303,16 @@ public Builder setErrorCode(com.google.cloud.config.v1.Preview.ErrorCode value) return this; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearErrorCode() { @@ -3773,24 +4324,33 @@ public Builder clearErrorCode() { private com.google.rpc.Status errorStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorStatusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorStatusBuilder_; /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorStatus field is set. */ public boolean hasErrorStatus() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorStatus. */ public com.google.rpc.Status getErrorStatus() { @@ -3801,11 +4361,14 @@ public com.google.rpc.Status getErrorStatus() { } } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrorStatus(com.google.rpc.Status value) { if (errorStatusBuilder_ == null) { @@ -3821,14 +4384,16 @@ public Builder setErrorStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrorStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setErrorStatus(com.google.rpc.Status.Builder builderForValue) { if (errorStatusBuilder_ == null) { errorStatus_ = builderForValue.build(); } else { @@ -3839,17 +4404,20 @@ public Builder setErrorStatus( return this; } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeErrorStatus(com.google.rpc.Status value) { if (errorStatusBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - errorStatus_ != null && - errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && errorStatus_ != null + && errorStatus_ != com.google.rpc.Status.getDefaultInstance()) { getErrorStatusBuilder().mergeFrom(value); } else { errorStatus_ = value; @@ -3864,11 +4432,14 @@ public Builder mergeErrorStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrorStatus() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3881,11 +4452,14 @@ public Builder clearErrorStatus() { return this; } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Status.Builder getErrorStatusBuilder() { bitField0_ |= 0x00000800; @@ -3893,36 +4467,42 @@ public com.google.rpc.Status.Builder getErrorStatusBuilder() { return getErrorStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { if (errorStatusBuilder_ != null) { return errorStatusBuilder_.getMessageOrBuilder(); } else { - return errorStatus_ == null ? - com.google.rpc.Status.getDefaultInstance() : errorStatus_; + return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_; } } /** + * + * *
      * Output only. Additional information regarding the current state.
      * 
* - * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorStatusFieldBuilder() { if (errorStatusBuilder_ == null) { - errorStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getErrorStatus(), - getParentForChildren(), - isClean()); + errorStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getErrorStatus(), getParentForChildren(), isClean()); errorStatus_ = null; } return errorStatusBuilder_; @@ -3930,18 +4510,20 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() { private java.lang.Object build_ = ""; /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; @@ -3950,20 +4532,21 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -3971,28 +4554,35 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -4002,17 +4592,21 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00001000; @@ -4021,24 +4615,32 @@ public Builder setBuildBytes( } private java.util.List tfErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTfErrorsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { tfErrors_ = new java.util.ArrayList(tfErrors_); bitField0_ |= 0x00002000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder> tfErrorsBuilder_; + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder> + tfErrorsBuilder_; /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getTfErrorsList() { if (tfErrorsBuilder_ == null) { @@ -4048,12 +4650,16 @@ public java.util.List getTfErrorsList } } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTfErrorsCount() { if (tfErrorsBuilder_ == null) { @@ -4063,12 +4669,16 @@ public int getTfErrorsCount() { } } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { if (tfErrorsBuilder_ == null) { @@ -4078,15 +4688,18 @@ public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { } } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTfErrors( - int index, com.google.cloud.config.v1.TerraformError value) { + public Builder setTfErrors(int index, com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4100,12 +4713,16 @@ public Builder setTfErrors( return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTfErrors( int index, com.google.cloud.config.v1.TerraformError.Builder builderForValue) { @@ -4119,12 +4736,16 @@ public Builder setTfErrors( return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTfErrors(com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { @@ -4140,15 +4761,18 @@ public Builder addTfErrors(com.google.cloud.config.v1.TerraformError value) { return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTfErrors( - int index, com.google.cloud.config.v1.TerraformError value) { + public Builder addTfErrors(int index, com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4162,15 +4786,18 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTfErrors( - com.google.cloud.config.v1.TerraformError.Builder builderForValue) { + public Builder addTfErrors(com.google.cloud.config.v1.TerraformError.Builder builderForValue) { if (tfErrorsBuilder_ == null) { ensureTfErrorsIsMutable(); tfErrors_.add(builderForValue.build()); @@ -4181,12 +4808,16 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTfErrors( int index, com.google.cloud.config.v1.TerraformError.Builder builderForValue) { @@ -4200,19 +4831,22 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTfErrors( java.lang.Iterable values) { if (tfErrorsBuilder_ == null) { ensureTfErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tfErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tfErrors_); onChanged(); } else { tfErrorsBuilder_.addAllMessages(values); @@ -4220,12 +4854,16 @@ public Builder addAllTfErrors( return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTfErrors() { if (tfErrorsBuilder_ == null) { @@ -4238,12 +4876,16 @@ public Builder clearTfErrors() { return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTfErrors(int index) { if (tfErrorsBuilder_ == null) { @@ -4256,42 +4898,53 @@ public Builder removeTfErrors(int index) { return this; } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformError.Builder getTfErrorsBuilder( - int index) { + public com.google.cloud.config.v1.TerraformError.Builder getTfErrorsBuilder(int index) { return getTfErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index) { + public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index) { if (tfErrorsBuilder_ == null) { - return tfErrors_.get(index); } else { + return tfErrors_.get(index); + } else { return tfErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTfErrorsOrBuilderList() { + public java.util.List + getTfErrorsOrBuilderList() { if (tfErrorsBuilder_ != null) { return tfErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -4299,52 +4952,66 @@ public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( } } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder() { - return getTfErrorsFieldBuilder().addBuilder( - com.google.cloud.config.v1.TerraformError.getDefaultInstance()); + return getTfErrorsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.TerraformError.getDefaultInstance()); } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder( - int index) { - return getTfErrorsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.TerraformError.getDefaultInstance()); + public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder(int index) { + return getTfErrorsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.TerraformError.getDefaultInstance()); } /** + * + * *
      * Output only. Summary of errors encountered during Terraform preview.
      * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTfErrorsBuilderList() { + public java.util.List + getTfErrorsBuilderList() { return getTfErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder> + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder> getTfErrorsFieldBuilder() { if (tfErrorsBuilder_ == null) { - tfErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder>( - tfErrors_, - ((bitField0_ & 0x00002000) != 0), - getParentForChildren(), - isClean()); + tfErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder>( + tfErrors_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); tfErrors_ = null; } return tfErrorsBuilder_; @@ -4352,6 +5019,8 @@ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder( private java.lang.Object errorLogs_ = ""; /** + * + * *
      * Output only. Link to tf-error.ndjson file, which contains the full list of
      * the errors encountered during a Terraform preview.
@@ -4359,13 +5028,13 @@ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder(
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ public java.lang.String getErrorLogs() { java.lang.Object ref = errorLogs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorLogs_ = s; return s; @@ -4374,6 +5043,8 @@ public java.lang.String getErrorLogs() { } } /** + * + * *
      * Output only. Link to tf-error.ndjson file, which contains the full list of
      * the errors encountered during a Terraform preview.
@@ -4381,15 +5052,14 @@ public java.lang.String getErrorLogs() {
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ - public com.google.protobuf.ByteString - getErrorLogsBytes() { + public com.google.protobuf.ByteString getErrorLogsBytes() { java.lang.Object ref = errorLogs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorLogs_ = b; return b; } else { @@ -4397,6 +5067,8 @@ public java.lang.String getErrorLogs() { } } /** + * + * *
      * Output only. Link to tf-error.ndjson file, which contains the full list of
      * the errors encountered during a Terraform preview.
@@ -4404,18 +5076,22 @@ public java.lang.String getErrorLogs() {
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The errorLogs to set. * @return This builder for chaining. */ - public Builder setErrorLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorLogs_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * Output only. Link to tf-error.ndjson file, which contains the full list of
      * the errors encountered during a Terraform preview.
@@ -4423,6 +5099,7 @@ public Builder setErrorLogs(
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearErrorLogs() { @@ -4432,6 +5109,8 @@ public Builder clearErrorLogs() { return this; } /** + * + * *
      * Output only. Link to tf-error.ndjson file, which contains the full list of
      * the errors encountered during a Terraform preview.
@@ -4439,12 +5118,14 @@ public Builder clearErrorLogs() {
      * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for errorLogs to set. * @return This builder for chaining. */ - public Builder setErrorLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorLogs_ = value; bitField0_ |= 0x00004000; @@ -4454,39 +5135,58 @@ public Builder setErrorLogsBytes( private com.google.cloud.config.v1.PreviewArtifacts previewArtifacts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewArtifacts, com.google.cloud.config.v1.PreviewArtifacts.Builder, com.google.cloud.config.v1.PreviewArtifactsOrBuilder> previewArtifactsBuilder_; + com.google.cloud.config.v1.PreviewArtifacts, + com.google.cloud.config.v1.PreviewArtifacts.Builder, + com.google.cloud.config.v1.PreviewArtifactsOrBuilder> + previewArtifactsBuilder_; /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the previewArtifacts field is set. */ public boolean hasPreviewArtifacts() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The previewArtifacts. */ public com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts() { if (previewArtifactsBuilder_ == null) { - return previewArtifacts_ == null ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } else { return previewArtifactsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts value) { if (previewArtifactsBuilder_ == null) { @@ -4502,11 +5202,15 @@ public Builder setPreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts v return this; } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPreviewArtifacts( com.google.cloud.config.v1.PreviewArtifacts.Builder builderForValue) { @@ -4520,17 +5224,22 @@ public Builder setPreviewArtifacts( return this; } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts value) { if (previewArtifactsBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - previewArtifacts_ != null && - previewArtifacts_ != com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && previewArtifacts_ != null + && previewArtifacts_ + != com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance()) { getPreviewArtifactsBuilder().mergeFrom(value); } else { previewArtifacts_ = value; @@ -4545,11 +5254,15 @@ public Builder mergePreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts return this; } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPreviewArtifacts() { bitField0_ = (bitField0_ & ~0x00008000); @@ -4562,11 +5275,15 @@ public Builder clearPreviewArtifacts() { return this; } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.PreviewArtifacts.Builder getPreviewArtifactsBuilder() { bitField0_ |= 0x00008000; @@ -4574,36 +5291,48 @@ public com.google.cloud.config.v1.PreviewArtifacts.Builder getPreviewArtifactsBu return getPreviewArtifactsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder() { if (previewArtifactsBuilder_ != null) { return previewArtifactsBuilder_.getMessageOrBuilder(); } else { - return previewArtifacts_ == null ? - com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } } /** + * + * *
      * Output only. Artifacts from preview.
      * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewArtifacts, com.google.cloud.config.v1.PreviewArtifacts.Builder, com.google.cloud.config.v1.PreviewArtifactsOrBuilder> + com.google.cloud.config.v1.PreviewArtifacts, + com.google.cloud.config.v1.PreviewArtifacts.Builder, + com.google.cloud.config.v1.PreviewArtifactsOrBuilder> getPreviewArtifactsFieldBuilder() { if (previewArtifactsBuilder_ == null) { - previewArtifactsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewArtifacts, com.google.cloud.config.v1.PreviewArtifacts.Builder, com.google.cloud.config.v1.PreviewArtifactsOrBuilder>( - getPreviewArtifacts(), - getParentForChildren(), - isClean()); + previewArtifactsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.PreviewArtifacts, + com.google.cloud.config.v1.PreviewArtifacts.Builder, + com.google.cloud.config.v1.PreviewArtifactsOrBuilder>( + getPreviewArtifacts(), getParentForChildren(), isClean()); previewArtifacts_ = null; } return previewArtifactsBuilder_; @@ -4611,18 +5340,20 @@ public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsO private java.lang.Object logs_ = ""; /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ public java.lang.String getLogs() { java.lang.Object ref = logs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; @@ -4631,20 +5362,21 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -4652,28 +5384,35 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The logs to set. * @return This builder for chaining. */ - public Builder setLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } logs_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLogs() { @@ -4683,26 +5422,30 @@ public Builder clearLogs() { return this; } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for logs to set. * @return This builder for chaining. */ - public Builder setLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); logs_ = value; bitField0_ |= 0x00010000; 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); } @@ -4712,12 +5455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.Preview) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.Preview) private static final com.google.cloud.config.v1.Preview DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.Preview(); } @@ -4726,27 +5469,27 @@ public static com.google.cloud.config.v1.Preview getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Preview parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Preview parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4761,6 +5504,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.Preview getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java similarity index 69% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java index d7d70c1b1278..4df38ba4b331 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifacts.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Artifacts created by preview.
  * 
* * Protobuf type {@code google.cloud.config.v1.PreviewArtifacts} */ -public final class PreviewArtifacts extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PreviewArtifacts extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.PreviewArtifacts) PreviewArtifactsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PreviewArtifacts.newBuilder() to construct. private PreviewArtifacts(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PreviewArtifacts() { content_ = ""; artifacts_ = ""; @@ -27,34 +45,39 @@ private PreviewArtifacts() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PreviewArtifacts(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.PreviewArtifacts.class, com.google.cloud.config.v1.PreviewArtifacts.Builder.class); + com.google.cloud.config.v1.PreviewArtifacts.class, + com.google.cloud.config.v1.PreviewArtifacts.Builder.class); } public static final int CONTENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object content_ = ""; /** + * + * *
    * Output only. Location of a blueprint copy and other content in Google Cloud
    * Storage. Format: `gs://{bucket}/{object}`
    * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The content. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** + * + * *
    * Output only. Location of a blueprint copy and other content in Google Cloud
    * Storage. Format: `gs://{bucket}/{object}`
    * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -95,15 +118,19 @@ public java.lang.String getContent() { } public static final int ARTIFACTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object artifacts_ = ""; /** + * + * *
    * Output only. Location of artifacts in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifacts. */ @java.lang.Override @@ -112,30 +139,30 @@ public java.lang.String getArtifacts() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifacts_ = s; return s; } } /** + * + * *
    * Output only. Location of artifacts in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifacts. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactsBytes() { + public com.google.protobuf.ByteString getArtifactsBytes() { java.lang.Object ref = artifacts_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifacts_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getArtifacts() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,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(content_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); } @@ -186,17 +213,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.config.v1.PreviewArtifacts)) { return super.equals(obj); } - com.google.cloud.config.v1.PreviewArtifacts other = (com.google.cloud.config.v1.PreviewArtifacts) obj; + com.google.cloud.config.v1.PreviewArtifacts other = + (com.google.cloud.config.v1.PreviewArtifacts) obj; - if (!getContent() - .equals(other.getContent())) return false; - if (!getArtifacts() - .equals(other.getArtifacts())) return false; + if (!getContent().equals(other.getContent())) return false; + if (!getArtifacts().equals(other.getArtifacts())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -217,132 +243,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.PreviewArtifacts parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.PreviewArtifacts parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewArtifacts parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.PreviewArtifacts parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.PreviewArtifacts parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts 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.config.v1.PreviewArtifacts 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; } /** + * + * *
    * Artifacts created by preview.
    * 
* * Protobuf type {@code google.cloud.config.v1.PreviewArtifacts} */ - 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.config.v1.PreviewArtifacts) com.google.cloud.config.v1.PreviewArtifactsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.PreviewArtifacts.class, com.google.cloud.config.v1.PreviewArtifacts.Builder.class); + com.google.cloud.config.v1.PreviewArtifacts.class, + com.google.cloud.config.v1.PreviewArtifacts.Builder.class); } // Construct using com.google.cloud.config.v1.PreviewArtifacts.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; } @java.lang.Override @@ -374,8 +404,11 @@ public com.google.cloud.config.v1.PreviewArtifacts build() { @java.lang.Override public com.google.cloud.config.v1.PreviewArtifacts buildPartial() { - com.google.cloud.config.v1.PreviewArtifacts result = new com.google.cloud.config.v1.PreviewArtifacts(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.PreviewArtifacts result = + new com.google.cloud.config.v1.PreviewArtifacts(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -394,38 +427,39 @@ private void buildPartial0(com.google.cloud.config.v1.PreviewArtifacts result) { 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.config.v1.PreviewArtifacts) { - return mergeFrom((com.google.cloud.config.v1.PreviewArtifacts)other); + return mergeFrom((com.google.cloud.config.v1.PreviewArtifacts) other); } else { super.mergeFrom(other); return this; @@ -470,22 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - content_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - artifacts_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + content_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + artifacts_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,23 +532,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object content_ = ""; /** + * + * *
      * Output only. Location of a blueprint copy and other content in Google Cloud
      * Storage. Format: `gs://{bucket}/{object}`
      * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -520,21 +560,22 @@ public java.lang.String getContent() { } } /** + * + * *
      * Output only. Location of a blueprint copy and other content in Google Cloud
      * Storage. Format: `gs://{bucket}/{object}`
      * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -542,30 +583,37 @@ public java.lang.String getContent() { } } /** + * + * *
      * Output only. Location of a blueprint copy and other content in Google Cloud
      * Storage. Format: `gs://{bucket}/{object}`
      * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } content_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Location of a blueprint copy and other content in Google Cloud
      * Storage. Format: `gs://{bucket}/{object}`
      * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearContent() { @@ -575,18 +623,22 @@ public Builder clearContent() { return this; } /** + * + * *
      * Output only. Location of a blueprint copy and other content in Google Cloud
      * Storage. Format: `gs://{bucket}/{object}`
      * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); content_ = value; bitField0_ |= 0x00000001; @@ -596,19 +648,21 @@ public Builder setContentBytes( private java.lang.Object artifacts_ = ""; /** + * + * *
      * Output only. Location of artifacts in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifacts. */ public java.lang.String getArtifacts() { java.lang.Object ref = artifacts_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifacts_ = s; return s; @@ -617,21 +671,22 @@ public java.lang.String getArtifacts() { } } /** + * + * *
      * Output only. Location of artifacts in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifacts. */ - public com.google.protobuf.ByteString - getArtifactsBytes() { + public com.google.protobuf.ByteString getArtifactsBytes() { java.lang.Object ref = artifacts_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifacts_ = b; return b; } else { @@ -639,30 +694,37 @@ public java.lang.String getArtifacts() { } } /** + * + * *
      * Output only. Location of artifacts in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The artifacts to set. * @return This builder for chaining. */ - public Builder setArtifacts( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifacts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } artifacts_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Location of artifacts in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArtifacts() { @@ -672,27 +734,31 @@ public Builder clearArtifacts() { return this; } /** + * + * *
      * Output only. Location of artifacts in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
      * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for artifacts to set. * @return This builder for chaining. */ - public Builder setArtifactsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArtifactsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); artifacts_ = value; bitField0_ |= 0x00000002; 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,12 +768,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.PreviewArtifacts) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.PreviewArtifacts) private static final com.google.cloud.config.v1.PreviewArtifacts DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.PreviewArtifacts(); } @@ -716,27 +782,27 @@ public static com.google.cloud.config.v1.PreviewArtifacts getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PreviewArtifacts parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PreviewArtifacts parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -751,6 +817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.PreviewArtifacts getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java similarity index 64% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java index 049d44945521..a002d3c7a705 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewArtifactsOrBuilder.java @@ -1,54 +1,80 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface PreviewArtifactsOrBuilder extends +public interface PreviewArtifactsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.PreviewArtifacts) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Location of a blueprint copy and other content in Google Cloud
    * Storage. Format: `gs://{bucket}/{object}`
    * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
    * Output only. Location of a blueprint copy and other content in Google Cloud
    * Storage. Format: `gs://{bucket}/{object}`
    * 
* * string content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
    * Output only. Location of artifacts in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The artifacts. */ java.lang.String getArtifacts(); /** + * + * *
    * Output only. Location of artifacts in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
    * 
* * string artifacts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for artifacts. */ - com.google.protobuf.ByteString - getArtifactsBytes(); + com.google.protobuf.ByteString getArtifactsBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewName.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewName.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewName.java diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java index e6bdbf3be22b..659bb75df042 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Ephemeral metadata content describing the state of a preview operation.
  * 
* * Protobuf type {@code google.cloud.config.v1.PreviewOperationMetadata} */ -public final class PreviewOperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PreviewOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.PreviewOperationMetadata) PreviewOperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PreviewOperationMetadata.newBuilder() to construct. private PreviewOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PreviewOperationMetadata() { step_ = 0; logs_ = ""; @@ -28,34 +46,38 @@ private PreviewOperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PreviewOperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.PreviewOperationMetadata.class, com.google.cloud.config.v1.PreviewOperationMetadata.Builder.class); + com.google.cloud.config.v1.PreviewOperationMetadata.class, + com.google.cloud.config.v1.PreviewOperationMetadata.Builder.class); } /** + * + * *
    * The possible steps a preview may be running.
    * 
* * Protobuf enum {@code google.cloud.config.v1.PreviewOperationMetadata.PreviewStep} */ - public enum PreviewStep - implements com.google.protobuf.ProtocolMessageEnum { + public enum PreviewStep implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified preview step.
      * 
@@ -64,6 +86,8 @@ public enum PreviewStep */ PREVIEW_STEP_UNSPECIFIED(0), /** + * + * *
      * Infra Manager is creating a Google Cloud Storage bucket to store
      * artifacts and metadata about the preview.
@@ -73,6 +97,8 @@ public enum PreviewStep
      */
     PREPARING_STORAGE_BUCKET(1),
     /**
+     *
+     *
      * 
      * Downloading the blueprint onto the Google Cloud Storage bucket.
      * 
@@ -81,6 +107,8 @@ public enum PreviewStep */ DOWNLOADING_BLUEPRINT(2), /** + * + * *
      * Initializing Terraform using `terraform init`.
      * 
@@ -89,6 +117,8 @@ public enum PreviewStep */ RUNNING_TF_INIT(3), /** + * + * *
      * Running `terraform plan`.
      * 
@@ -97,6 +127,8 @@ public enum PreviewStep */ RUNNING_TF_PLAN(4), /** + * + * *
      * Fetching a deployment.
      * 
@@ -105,6 +137,8 @@ public enum PreviewStep */ FETCHING_DEPLOYMENT(5), /** + * + * *
      * Locking a deployment.
      * 
@@ -113,6 +147,8 @@ public enum PreviewStep */ LOCKING_DEPLOYMENT(6), /** + * + * *
      * Unlocking a deployment.
      * 
@@ -121,6 +157,8 @@ public enum PreviewStep */ UNLOCKING_DEPLOYMENT(7), /** + * + * *
      * Operation was successful.
      * 
@@ -129,6 +167,8 @@ public enum PreviewStep */ SUCCEEDED(8), /** + * + * *
      * Operation failed.
      * 
@@ -137,6 +177,8 @@ public enum PreviewStep */ FAILED(9), /** + * + * *
      * Validating the provided repository.
      * 
@@ -148,6 +190,8 @@ public enum PreviewStep ; /** + * + * *
      * Unspecified preview step.
      * 
@@ -156,6 +200,8 @@ public enum PreviewStep */ public static final int PREVIEW_STEP_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Infra Manager is creating a Google Cloud Storage bucket to store
      * artifacts and metadata about the preview.
@@ -165,6 +211,8 @@ public enum PreviewStep
      */
     public static final int PREPARING_STORAGE_BUCKET_VALUE = 1;
     /**
+     *
+     *
      * 
      * Downloading the blueprint onto the Google Cloud Storage bucket.
      * 
@@ -173,6 +221,8 @@ public enum PreviewStep */ public static final int DOWNLOADING_BLUEPRINT_VALUE = 2; /** + * + * *
      * Initializing Terraform using `terraform init`.
      * 
@@ -181,6 +231,8 @@ public enum PreviewStep */ public static final int RUNNING_TF_INIT_VALUE = 3; /** + * + * *
      * Running `terraform plan`.
      * 
@@ -189,6 +241,8 @@ public enum PreviewStep */ public static final int RUNNING_TF_PLAN_VALUE = 4; /** + * + * *
      * Fetching a deployment.
      * 
@@ -197,6 +251,8 @@ public enum PreviewStep */ public static final int FETCHING_DEPLOYMENT_VALUE = 5; /** + * + * *
      * Locking a deployment.
      * 
@@ -205,6 +261,8 @@ public enum PreviewStep */ public static final int LOCKING_DEPLOYMENT_VALUE = 6; /** + * + * *
      * Unlocking a deployment.
      * 
@@ -213,6 +271,8 @@ public enum PreviewStep */ public static final int UNLOCKING_DEPLOYMENT_VALUE = 7; /** + * + * *
      * Operation was successful.
      * 
@@ -221,6 +281,8 @@ public enum PreviewStep */ public static final int SUCCEEDED_VALUE = 8; /** + * + * *
      * Operation failed.
      * 
@@ -229,6 +291,8 @@ public enum PreviewStep */ public static final int FAILED_VALUE = 9; /** + * + * *
      * Validating the provided repository.
      * 
@@ -237,7 +301,6 @@ public enum PreviewStep */ public static final int VALIDATING_REPOSITORY_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -262,57 +325,67 @@ public static PreviewStep valueOf(int value) { */ public static PreviewStep forNumber(int value) { switch (value) { - case 0: return PREVIEW_STEP_UNSPECIFIED; - case 1: return PREPARING_STORAGE_BUCKET; - case 2: return DOWNLOADING_BLUEPRINT; - case 3: return RUNNING_TF_INIT; - case 4: return RUNNING_TF_PLAN; - case 5: return FETCHING_DEPLOYMENT; - case 6: return LOCKING_DEPLOYMENT; - case 7: return UNLOCKING_DEPLOYMENT; - case 8: return SUCCEEDED; - case 9: return FAILED; - case 10: return VALIDATING_REPOSITORY; - default: return null; + case 0: + return PREVIEW_STEP_UNSPECIFIED; + case 1: + return PREPARING_STORAGE_BUCKET; + case 2: + return DOWNLOADING_BLUEPRINT; + case 3: + return RUNNING_TF_INIT; + case 4: + return RUNNING_TF_PLAN; + case 5: + return FETCHING_DEPLOYMENT; + case 6: + return LOCKING_DEPLOYMENT; + case 7: + return UNLOCKING_DEPLOYMENT; + case 8: + return SUCCEEDED; + case 9: + return FAILED; + case 10: + return VALIDATING_REPOSITORY; + 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< - PreviewStep> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PreviewStep findValueByNumber(int number) { - return PreviewStep.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 PreviewStep findValueByNumber(int number) { + return PreviewStep.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.config.v1.PreviewOperationMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.PreviewOperationMetadata.getDescriptor() + .getEnumTypes() + .get(0); } private static final PreviewStep[] VALUES = values(); - public static PreviewStep valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PreviewStep 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; @@ -333,37 +406,51 @@ private PreviewStep(int value) { public static final int STEP_FIELD_NUMBER = 1; private int step_ = 0; /** + * + * *
    * The current step the preview operation is running.
    * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return The enum numeric value on the wire for step. */ - @java.lang.Override public int getStepValue() { + @java.lang.Override + public int getStepValue() { return step_; } /** + * + * *
    * The current step the preview operation is running.
    * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return The step. */ - @java.lang.Override public com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep getStep() { - com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep result = com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.forNumber(step_); - return result == null ? com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep getStep() { + com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep result = + com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.forNumber(step_); + return result == null + ? com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.UNRECOGNIZED + : result; } public static final int PREVIEW_ARTIFACTS_FIELD_NUMBER = 2; private com.google.cloud.config.v1.PreviewArtifacts previewArtifacts_; /** + * + * *
    * Artifacts from preview.
    * 
* * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; + * * @return Whether the previewArtifacts field is set. */ @java.lang.Override @@ -371,18 +458,25 @@ public boolean hasPreviewArtifacts() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Artifacts from preview.
    * 
* * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; + * * @return The previewArtifacts. */ @java.lang.Override public com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts() { - return previewArtifacts_ == null ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } /** + * + * *
    * Artifacts from preview.
    * 
@@ -391,18 +485,24 @@ public com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts() { */ @java.lang.Override public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder() { - return previewArtifacts_ == null ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } public static final int LOGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object logs_ = ""; /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ @java.lang.Override @@ -411,29 +511,29 @@ public java.lang.String getLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; } } /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -442,14 +542,18 @@ public java.lang.String getLogs() { } public static final int BUILD_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object build_ = ""; /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ @java.lang.Override @@ -458,29 +562,29 @@ public java.lang.String getBuild() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; } } /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -489,6 +593,7 @@ public java.lang.String getBuild() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -500,9 +605,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (step_ != com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.PREVIEW_STEP_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (step_ + != com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.PREVIEW_STEP_UNSPECIFIED + .getNumber()) { output.writeEnum(1, step_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -523,13 +629,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (step_ != com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.PREVIEW_STEP_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, step_); + if (step_ + != com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.PREVIEW_STEP_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, step_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPreviewArtifacts()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPreviewArtifacts()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, logs_); @@ -545,23 +651,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.config.v1.PreviewOperationMetadata)) { return super.equals(obj); } - com.google.cloud.config.v1.PreviewOperationMetadata other = (com.google.cloud.config.v1.PreviewOperationMetadata) obj; + com.google.cloud.config.v1.PreviewOperationMetadata other = + (com.google.cloud.config.v1.PreviewOperationMetadata) obj; if (step_ != other.step_) return false; if (hasPreviewArtifacts() != other.hasPreviewArtifacts()) return false; if (hasPreviewArtifacts()) { - if (!getPreviewArtifacts() - .equals(other.getPreviewArtifacts())) return false; + if (!getPreviewArtifacts().equals(other.getPreviewArtifacts())) return false; } - if (!getLogs() - .equals(other.getLogs())) return false; - if (!getBuild() - .equals(other.getBuild())) return false; + if (!getLogs().equals(other.getLogs())) return false; + if (!getBuild().equals(other.getBuild())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -589,119 +693,126 @@ public int hashCode() { } public static com.google.cloud.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.PreviewOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.PreviewOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.PreviewOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata 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.config.v1.PreviewOperationMetadata 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; } /** + * + * *
    * Ephemeral metadata content describing the state of a preview operation.
    * 
* * Protobuf type {@code google.cloud.config.v1.PreviewOperationMetadata} */ - 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.config.v1.PreviewOperationMetadata) com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.PreviewOperationMetadata.class, com.google.cloud.config.v1.PreviewOperationMetadata.Builder.class); + com.google.cloud.config.v1.PreviewOperationMetadata.class, + com.google.cloud.config.v1.PreviewOperationMetadata.Builder.class); } // Construct using com.google.cloud.config.v1.PreviewOperationMetadata.newBuilder() @@ -709,17 +820,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) { getPreviewArtifactsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -736,9 +847,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; } @java.lang.Override @@ -757,8 +868,11 @@ public com.google.cloud.config.v1.PreviewOperationMetadata build() { @java.lang.Override public com.google.cloud.config.v1.PreviewOperationMetadata buildPartial() { - com.google.cloud.config.v1.PreviewOperationMetadata result = new com.google.cloud.config.v1.PreviewOperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.PreviewOperationMetadata result = + new com.google.cloud.config.v1.PreviewOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -770,9 +884,8 @@ private void buildPartial0(com.google.cloud.config.v1.PreviewOperationMetadata r } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.previewArtifacts_ = previewArtifactsBuilder_ == null - ? previewArtifacts_ - : previewArtifactsBuilder_.build(); + result.previewArtifacts_ = + previewArtifactsBuilder_ == null ? previewArtifacts_ : previewArtifactsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -788,38 +901,39 @@ private void buildPartial0(com.google.cloud.config.v1.PreviewOperationMetadata r 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.config.v1.PreviewOperationMetadata) { - return mergeFrom((com.google.cloud.config.v1.PreviewOperationMetadata)other); + return mergeFrom((com.google.cloud.config.v1.PreviewOperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -827,7 +941,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.PreviewOperationMetadata other) { - if (other == com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance()) + return this; if (other.step_ != 0) { setStepValue(other.getStepValue()); } @@ -870,34 +985,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - step_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getPreviewArtifactsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - logs_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - build_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + step_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage( + getPreviewArtifactsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + logs_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -907,26 +1026,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int step_ = 0; /** + * + * *
      * The current step the preview operation is running.
      * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return The enum numeric value on the wire for step. */ - @java.lang.Override public int getStepValue() { + @java.lang.Override + public int getStepValue() { return step_; } /** + * + * *
      * The current step the preview operation is running.
      * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @param value The enum numeric value on the wire for step to set. * @return This builder for chaining. */ @@ -937,24 +1064,33 @@ public Builder setStepValue(int value) { return this; } /** + * + * *
      * The current step the preview operation is running.
      * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return The step. */ @java.lang.Override public com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep getStep() { - com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep result = com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.forNumber(step_); - return result == null ? com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.UNRECOGNIZED : result; + com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep result = + com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.forNumber(step_); + return result == null + ? com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep.UNRECOGNIZED + : result; } /** + * + * *
      * The current step the preview operation is running.
      * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @param value The step to set. * @return This builder for chaining. */ @@ -968,11 +1104,14 @@ public Builder setStep(com.google.cloud.config.v1.PreviewOperationMetadata.Previ return this; } /** + * + * *
      * The current step the preview operation is running.
      * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { @@ -984,34 +1123,47 @@ public Builder clearStep() { private com.google.cloud.config.v1.PreviewArtifacts previewArtifacts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewArtifacts, com.google.cloud.config.v1.PreviewArtifacts.Builder, com.google.cloud.config.v1.PreviewArtifactsOrBuilder> previewArtifactsBuilder_; + com.google.cloud.config.v1.PreviewArtifacts, + com.google.cloud.config.v1.PreviewArtifacts.Builder, + com.google.cloud.config.v1.PreviewArtifactsOrBuilder> + previewArtifactsBuilder_; /** + * + * *
      * Artifacts from preview.
      * 
* * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; + * * @return Whether the previewArtifacts field is set. */ public boolean hasPreviewArtifacts() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Artifacts from preview.
      * 
* * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; + * * @return The previewArtifacts. */ public com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts() { if (previewArtifactsBuilder_ == null) { - return previewArtifacts_ == null ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } else { return previewArtifactsBuilder_.getMessage(); } } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1032,6 +1184,8 @@ public Builder setPreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts v return this; } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1050,6 +1204,8 @@ public Builder setPreviewArtifacts( return this; } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1058,9 +1214,10 @@ public Builder setPreviewArtifacts( */ public Builder mergePreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts value) { if (previewArtifactsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - previewArtifacts_ != null && - previewArtifacts_ != com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && previewArtifacts_ != null + && previewArtifacts_ + != com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance()) { getPreviewArtifactsBuilder().mergeFrom(value); } else { previewArtifacts_ = value; @@ -1075,6 +1232,8 @@ public Builder mergePreviewArtifacts(com.google.cloud.config.v1.PreviewArtifacts return this; } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1092,6 +1251,8 @@ public Builder clearPreviewArtifacts() { return this; } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1104,6 +1265,8 @@ public com.google.cloud.config.v1.PreviewArtifacts.Builder getPreviewArtifactsBu return getPreviewArtifactsFieldBuilder().getBuilder(); } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1114,11 +1277,14 @@ public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsO if (previewArtifactsBuilder_ != null) { return previewArtifactsBuilder_.getMessageOrBuilder(); } else { - return previewArtifacts_ == null ? - com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() : previewArtifacts_; + return previewArtifacts_ == null + ? com.google.cloud.config.v1.PreviewArtifacts.getDefaultInstance() + : previewArtifacts_; } } /** + * + * *
      * Artifacts from preview.
      * 
@@ -1126,14 +1292,17 @@ public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsO * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewArtifacts, com.google.cloud.config.v1.PreviewArtifacts.Builder, com.google.cloud.config.v1.PreviewArtifactsOrBuilder> + com.google.cloud.config.v1.PreviewArtifacts, + com.google.cloud.config.v1.PreviewArtifacts.Builder, + com.google.cloud.config.v1.PreviewArtifactsOrBuilder> getPreviewArtifactsFieldBuilder() { if (previewArtifactsBuilder_ == null) { - previewArtifactsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.PreviewArtifacts, com.google.cloud.config.v1.PreviewArtifacts.Builder, com.google.cloud.config.v1.PreviewArtifactsOrBuilder>( - getPreviewArtifacts(), - getParentForChildren(), - isClean()); + previewArtifactsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.PreviewArtifacts, + com.google.cloud.config.v1.PreviewArtifacts.Builder, + com.google.cloud.config.v1.PreviewArtifactsOrBuilder>( + getPreviewArtifacts(), getParentForChildren(), isClean()); previewArtifacts_ = null; } return previewArtifactsBuilder_; @@ -1141,18 +1310,20 @@ public com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsO private java.lang.Object logs_ = ""; /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ public java.lang.String getLogs() { java.lang.Object ref = logs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; @@ -1161,20 +1332,21 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -1182,28 +1354,35 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The logs to set. * @return This builder for chaining. */ - public Builder setLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } logs_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLogs() { @@ -1213,17 +1392,21 @@ public Builder clearLogs() { return this; } /** + * + * *
      * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
      * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for logs to set. * @return This builder for chaining. */ - public Builder setLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); logs_ = value; bitField0_ |= 0x00000004; @@ -1233,18 +1416,20 @@ public Builder setLogsBytes( private java.lang.Object build_ = ""; /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; @@ -1253,20 +1438,21 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -1274,28 +1460,35 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -1305,26 +1498,30 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this preview.
      * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000008; 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); } @@ -1334,12 +1531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.PreviewOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.PreviewOperationMetadata) private static final com.google.cloud.config.v1.PreviewOperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.PreviewOperationMetadata(); } @@ -1348,27 +1545,27 @@ public static com.google.cloud.config.v1.PreviewOperationMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PreviewOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PreviewOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1383,6 +1580,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.PreviewOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java index 9423d8baaed3..f040eec055fc 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOperationMetadataOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface PreviewOperationMetadataOrBuilder extends +public interface PreviewOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.PreviewOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The current step the preview operation is running.
    * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return The enum numeric value on the wire for step. */ int getStepValue(); /** + * + * *
    * The current step the preview operation is running.
    * 
* * .google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1; + * * @return The step. */ com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep getStep(); /** + * + * *
    * Artifacts from preview.
    * 
* * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; + * * @return Whether the previewArtifacts field is set. */ boolean hasPreviewArtifacts(); /** + * + * *
    * Artifacts from preview.
    * 
* * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2; + * * @return The previewArtifacts. */ com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts(); /** + * + * *
    * Artifacts from preview.
    * 
@@ -55,42 +85,52 @@ public interface PreviewOperationMetadataOrBuilder extends com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder(); /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ java.lang.String getLogs(); /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - com.google.protobuf.ByteString - getLogsBytes(); + com.google.protobuf.ByteString getLogsBytes(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java index 730ef8a38966..b42ad35817c7 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface PreviewOrBuilder extends +public interface PreviewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.Preview) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The terraform blueprint to preview.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return Whether the terraformBlueprint field is set. */ boolean hasTerraformBlueprint(); /** + * + * *
    * The terraform blueprint to preview.
    * 
* * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6; + * * @return The terraformBlueprint. */ com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint(); /** + * + * *
    * The terraform blueprint to preview.
    * 
@@ -36,6 +60,8 @@ public interface PreviewOrBuilder extends com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder(); /** + * + * *
    * Identifier. Resource name of the preview. Resource name can be user
    * provided or server generated ID if unspecified. Format:
@@ -43,10 +69,13 @@ public interface PreviewOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Identifier. Resource name of the preview. Resource name can be user
    * provided or server generated ID if unspecified. Format:
@@ -54,39 +83,52 @@ public interface PreviewOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time the preview was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time the preview was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time the preview was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
@@ -95,30 +137,31 @@ public interface PreviewOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
* * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
* * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
@@ -126,40 +169,53 @@ boolean containsLabels( * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. User-defined labels for the preview.
    * 
* * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Current state of the preview.
    * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the preview.
    * 
* - * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.config.v1.Preview.State getState(); /** + * + * *
    * Optional. Optional deployment reference. If specified, the preview will be
    * performed using the provided deployment's current state and use any
@@ -167,11 +223,16 @@ java.lang.String getLabelsOrThrow(
    * preview create request.
    * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The deployment. */ java.lang.String getDeployment(); /** + * + * *
    * Optional. Optional deployment reference. If specified, the preview will be
    * performed using the provided deployment's current state and use any
@@ -179,56 +240,79 @@ java.lang.String getLabelsOrThrow(
    * preview create request.
    * 
* - * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for deployment. */ - com.google.protobuf.ByteString - getDeploymentBytes(); + com.google.protobuf.ByteString getDeploymentBytes(); /** + * + * *
    * Optional. Current mode of preview.
    * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for previewMode. */ int getPreviewModeValue(); /** + * + * *
    * Optional. Current mode of preview.
    * 
* - * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The previewMode. */ com.google.cloud.config.v1.Preview.PreviewMode getPreviewMode(); /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * previewing resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Optional. User-specified Service Account (SA) credentials to be used when
    * previewing resources.
    * Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Optional. User-defined location of Cloud Build logs, artifacts, and
    * in Google Cloud Storage.
@@ -242,11 +326,15 @@ java.lang.String getLabelsOrThrow(
    * defined, that artifact bucket is used.
    * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the artifactsGcsBucket field is set. */ boolean hasArtifactsGcsBucket(); /** + * + * *
    * Optional. User-defined location of Cloud Build logs, artifacts, and
    * in Google Cloud Storage.
@@ -260,11 +348,15 @@ java.lang.String getLabelsOrThrow(
    * defined, that artifact bucket is used.
    * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The artifactsGcsBucket. */ java.lang.String getArtifactsGcsBucket(); /** + * + * *
    * Optional. User-defined location of Cloud Build logs, artifacts, and
    * in Google Cloud Storage.
@@ -278,13 +370,16 @@ java.lang.String getLabelsOrThrow(
    * defined, that artifact bucket is used.
    * 
* - * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for artifactsGcsBucket. */ - com.google.protobuf.ByteString - getArtifactsGcsBucketBytes(); + com.google.protobuf.ByteString getArtifactsGcsBucketBytes(); /** + * + * *
    * Optional. The user-specified Worker Pool resource in which the Cloud Build
    * job will execute. Format
@@ -294,11 +389,16 @@ java.lang.String getLabelsOrThrow(
    * worker pool is used.
    * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workerPool field is set. */ boolean hasWorkerPool(); /** + * + * *
    * Optional. The user-specified Worker Pool resource in which the Cloud Build
    * job will execute. Format
@@ -308,11 +408,16 @@ java.lang.String getLabelsOrThrow(
    * worker pool is used.
    * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ java.lang.String getWorkerPool(); /** + * + * *
    * Optional. The user-specified Worker Pool resource in which the Cloud Build
    * job will execute. Format
@@ -322,50 +427,70 @@ java.lang.String getLabelsOrThrow(
    * worker pool is used.
    * 
* - * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - com.google.protobuf.ByteString - getWorkerPoolBytes(); + com.google.protobuf.ByteString getWorkerPoolBytes(); /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ int getErrorCodeValue(); /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ com.google.cloud.config.v1.Preview.ErrorCode getErrorCode(); /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the errorStatus field is set. */ boolean hasErrorStatus(); /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
* * .google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorStatus. */ com.google.rpc.Status getErrorStatus(); /** + * + * *
    * Output only. Additional information regarding the current state.
    * 
@@ -375,75 +500,100 @@ java.lang.String getLabelsOrThrow( com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this preview.
    * 
* * string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTfErrorsList(); + java.util.List getTfErrorsList(); /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.TerraformError getTfErrors(int index); /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTfErrorsCount(); /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTfErrorsOrBuilderList(); /** + * + * *
    * Output only. Summary of errors encountered during Terraform preview.
    * It has a size limit of 10, i.e. only top 10 errors will be summarized here.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index); + com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index); /** + * + * *
    * Output only. Link to tf-error.ndjson file, which contains the full list of
    * the errors encountered during a Terraform preview.
@@ -451,10 +601,13 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ java.lang.String getErrorLogs(); /** + * + * *
    * Output only. Link to tf-error.ndjson file, which contains the full list of
    * the errors encountered during a Terraform preview.
@@ -462,57 +615,76 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ - com.google.protobuf.ByteString - getErrorLogsBytes(); + com.google.protobuf.ByteString getErrorLogsBytes(); /** + * + * *
    * Output only. Artifacts from preview.
    * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the previewArtifacts field is set. */ boolean hasPreviewArtifacts(); /** + * + * *
    * Output only. Artifacts from preview.
    * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The previewArtifacts. */ com.google.cloud.config.v1.PreviewArtifacts getPreviewArtifacts(); /** + * + * *
    * Output only. Artifacts from preview.
    * 
* - * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder(); /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ java.lang.String getLogs(); /** + * + * *
    * Output only. Location of preview logs in `gs://{bucket}/{object}` format.
    * 
* * string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - com.google.protobuf.ByteString - getLogsBytes(); + com.google.protobuf.ByteString getLogsBytes(); com.google.cloud.config.v1.Preview.BlueprintCase getBlueprintCase(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java similarity index 68% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java index fbfe119d4cd6..cf1d9b182b02 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Contains a signed Cloud Storage URLs.
  * 
* * Protobuf type {@code google.cloud.config.v1.PreviewResult} */ -public final class PreviewResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PreviewResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.PreviewResult) PreviewResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PreviewResult.newBuilder() to construct. private PreviewResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PreviewResult() { binarySignedUri_ = ""; jsonSignedUri_ = ""; @@ -27,33 +45,38 @@ private PreviewResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PreviewResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.PreviewResult.class, com.google.cloud.config.v1.PreviewResult.Builder.class); + com.google.cloud.config.v1.PreviewResult.class, + com.google.cloud.config.v1.PreviewResult.Builder.class); } public static final int BINARY_SIGNED_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object binarySignedUri_ = ""; /** + * + * *
    * Output only. Plan binary signed URL
    * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The binarySignedUri. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getBinarySignedUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); binarySignedUri_ = s; return s; } } /** + * + * *
    * Output only. Plan binary signed URL
    * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for binarySignedUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBinarySignedUriBytes() { + public com.google.protobuf.ByteString getBinarySignedUriBytes() { java.lang.Object ref = binarySignedUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); binarySignedUri_ = b; return b; } else { @@ -93,14 +116,18 @@ public java.lang.String getBinarySignedUri() { } public static final int JSON_SIGNED_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object jsonSignedUri_ = ""; /** + * + * *
    * Output only. Plan JSON signed URL
    * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jsonSignedUri. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getJsonSignedUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jsonSignedUri_ = s; return s; } } /** + * + * *
    * Output only. Plan JSON signed URL
    * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jsonSignedUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getJsonSignedUriBytes() { + public com.google.protobuf.ByteString getJsonSignedUriBytes() { java.lang.Object ref = jsonSignedUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jsonSignedUri_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getJsonSignedUri() { } 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(binarySignedUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, binarySignedUri_); } @@ -182,17 +209,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.config.v1.PreviewResult)) { return super.equals(obj); } com.google.cloud.config.v1.PreviewResult other = (com.google.cloud.config.v1.PreviewResult) obj; - if (!getBinarySignedUri() - .equals(other.getBinarySignedUri())) return false; - if (!getJsonSignedUri() - .equals(other.getJsonSignedUri())) return false; + if (!getBinarySignedUri().equals(other.getBinarySignedUri())) return false; + if (!getJsonSignedUri().equals(other.getJsonSignedUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,132 +238,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.PreviewResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.PreviewResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewResult 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.config.v1.PreviewResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.PreviewResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.PreviewResult 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.config.v1.PreviewResult 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.config.v1.PreviewResult 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.config.v1.PreviewResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.PreviewResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.PreviewResult 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.config.v1.PreviewResult 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.config.v1.PreviewResult 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.config.v1.PreviewResult 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; } /** + * + * *
    * Contains a signed Cloud Storage URLs.
    * 
* * Protobuf type {@code google.cloud.config.v1.PreviewResult} */ - 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.config.v1.PreviewResult) com.google.cloud.config.v1.PreviewResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.PreviewResult.class, com.google.cloud.config.v1.PreviewResult.Builder.class); + com.google.cloud.config.v1.PreviewResult.class, + com.google.cloud.config.v1.PreviewResult.Builder.class); } // Construct using com.google.cloud.config.v1.PreviewResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_PreviewResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_PreviewResult_descriptor; } @java.lang.Override @@ -370,8 +399,11 @@ public com.google.cloud.config.v1.PreviewResult build() { @java.lang.Override public com.google.cloud.config.v1.PreviewResult buildPartial() { - com.google.cloud.config.v1.PreviewResult result = new com.google.cloud.config.v1.PreviewResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.PreviewResult result = + new com.google.cloud.config.v1.PreviewResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -390,38 +422,39 @@ private void buildPartial0(com.google.cloud.config.v1.PreviewResult result) { 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.config.v1.PreviewResult) { - return mergeFrom((com.google.cloud.config.v1.PreviewResult)other); + return mergeFrom((com.google.cloud.config.v1.PreviewResult) other); } else { super.mergeFrom(other); return this; @@ -466,22 +499,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - binarySignedUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - jsonSignedUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + binarySignedUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + jsonSignedUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -491,22 +527,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object binarySignedUri_ = ""; /** + * + * *
      * Output only. Plan binary signed URL
      * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The binarySignedUri. */ public java.lang.String getBinarySignedUri() { java.lang.Object ref = binarySignedUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); binarySignedUri_ = s; return s; @@ -515,20 +554,21 @@ public java.lang.String getBinarySignedUri() { } } /** + * + * *
      * Output only. Plan binary signed URL
      * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for binarySignedUri. */ - public com.google.protobuf.ByteString - getBinarySignedUriBytes() { + public com.google.protobuf.ByteString getBinarySignedUriBytes() { java.lang.Object ref = binarySignedUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); binarySignedUri_ = b; return b; } else { @@ -536,28 +576,35 @@ public java.lang.String getBinarySignedUri() { } } /** + * + * *
      * Output only. Plan binary signed URL
      * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The binarySignedUri to set. * @return This builder for chaining. */ - public Builder setBinarySignedUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBinarySignedUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } binarySignedUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Plan binary signed URL
      * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBinarySignedUri() { @@ -567,17 +614,21 @@ public Builder clearBinarySignedUri() { return this; } /** + * + * *
      * Output only. Plan binary signed URL
      * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for binarySignedUri to set. * @return This builder for chaining. */ - public Builder setBinarySignedUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBinarySignedUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); binarySignedUri_ = value; bitField0_ |= 0x00000001; @@ -587,18 +638,20 @@ public Builder setBinarySignedUriBytes( private java.lang.Object jsonSignedUri_ = ""; /** + * + * *
      * Output only. Plan JSON signed URL
      * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jsonSignedUri. */ public java.lang.String getJsonSignedUri() { java.lang.Object ref = jsonSignedUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jsonSignedUri_ = s; return s; @@ -607,20 +660,21 @@ public java.lang.String getJsonSignedUri() { } } /** + * + * *
      * Output only. Plan JSON signed URL
      * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jsonSignedUri. */ - public com.google.protobuf.ByteString - getJsonSignedUriBytes() { + public com.google.protobuf.ByteString getJsonSignedUriBytes() { java.lang.Object ref = jsonSignedUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jsonSignedUri_ = b; return b; } else { @@ -628,28 +682,35 @@ public java.lang.String getJsonSignedUri() { } } /** + * + * *
      * Output only. Plan JSON signed URL
      * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The jsonSignedUri to set. * @return This builder for chaining. */ - public Builder setJsonSignedUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJsonSignedUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jsonSignedUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Plan JSON signed URL
      * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearJsonSignedUri() { @@ -659,26 +720,30 @@ public Builder clearJsonSignedUri() { return this; } /** + * + * *
      * Output only. Plan JSON signed URL
      * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for jsonSignedUri to set. * @return This builder for chaining. */ - public Builder setJsonSignedUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJsonSignedUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jsonSignedUri_ = value; bitField0_ |= 0x00000002; 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); } @@ -688,12 +753,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.PreviewResult) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.PreviewResult) private static final com.google.cloud.config.v1.PreviewResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.PreviewResult(); } @@ -702,27 +767,27 @@ public static com.google.cloud.config.v1.PreviewResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PreviewResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PreviewResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -737,6 +802,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.PreviewResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java similarity index 59% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java index d8eb99d1e382..a5ca53b91217 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/PreviewResultOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface PreviewResultOrBuilder extends +public interface PreviewResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.PreviewResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Plan binary signed URL
    * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The binarySignedUri. */ java.lang.String getBinarySignedUri(); /** + * + * *
    * Output only. Plan binary signed URL
    * 
* * string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for binarySignedUri. */ - com.google.protobuf.ByteString - getBinarySignedUriBytes(); + com.google.protobuf.ByteString getBinarySignedUriBytes(); /** + * + * *
    * Output only. Plan JSON signed URL
    * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The jsonSignedUri. */ java.lang.String getJsonSignedUri(); /** + * + * *
    * Output only. Plan JSON signed URL
    * 
* * string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for jsonSignedUri. */ - com.google.protobuf.ByteString - getJsonSignedUriBytes(); + com.google.protobuf.ByteString getJsonSignedUriBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java index 4c3c719c4364..a90b764a3e52 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/QuotaValidation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * Enum values to control quota checks for resources in terraform
  * configuration files.
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.config.v1.QuotaValidation}
  */
-public enum QuotaValidation
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum QuotaValidation implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default value.
    * QuotaValidation on terraform configuration files will be disabled in
@@ -25,6 +43,8 @@ public enum QuotaValidation
    */
   QUOTA_VALIDATION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Enable computing quotas for resources in terraform configuration files to
    * get visibility on resources with insufficient quotas.
@@ -34,6 +54,8 @@ public enum QuotaValidation
    */
   ENABLED(1),
   /**
+   *
+   *
    * 
    * Enforce quota checks so deployment fails if there isn't sufficient quotas
    * available to deploy resources in terraform configuration files.
@@ -46,6 +68,8 @@ public enum QuotaValidation
   ;
 
   /**
+   *
+   *
    * 
    * The default value.
    * QuotaValidation on terraform configuration files will be disabled in
@@ -56,6 +80,8 @@ public enum QuotaValidation
    */
   public static final int QUOTA_VALIDATION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Enable computing quotas for resources in terraform configuration files to
    * get visibility on resources with insufficient quotas.
@@ -65,6 +91,8 @@ public enum QuotaValidation
    */
   public static final int ENABLED_VALUE = 1;
   /**
+   *
+   *
    * 
    * Enforce quota checks so deployment fails if there isn't sufficient quotas
    * available to deploy resources in terraform configuration files.
@@ -74,7 +102,6 @@ public enum QuotaValidation
    */
   public static final int ENFORCED_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -99,49 +126,49 @@ public static QuotaValidation valueOf(int value) {
    */
   public static QuotaValidation forNumber(int value) {
     switch (value) {
-      case 0: return QUOTA_VALIDATION_UNSPECIFIED;
-      case 1: return ENABLED;
-      case 2: return ENFORCED;
-      default: return null;
+      case 0:
+        return QUOTA_VALIDATION_UNSPECIFIED;
+      case 1:
+        return ENABLED;
+      case 2:
+        return ENFORCED;
+      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<
-      QuotaValidation> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public QuotaValidation findValueByNumber(int number) {
-            return QuotaValidation.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 QuotaValidation findValueByNumber(int number) {
+          return QuotaValidation.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() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.config.v1.ConfigProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final QuotaValidation[] VALUES = values();
 
-  public static QuotaValidation valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static QuotaValidation 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;
@@ -157,4 +184,3 @@ private QuotaValidation(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.QuotaValidation)
 }
-
diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java
similarity index 63%
rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java
rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java
index 0dea7b508595..5a4deae60fab 100644
--- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java
+++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Resource.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/config/v1/config.proto
 
@@ -5,6 +20,8 @@
 package com.google.cloud.config.v1;
 
 /**
+ *
+ *
  * 
  * Resource represents a Google Cloud Platform resource actuated by IM.
  * Resources are child resources of Revisions.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.config.v1.Resource}
  */
-public final class Resource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Resource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.Resource)
     ResourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Resource.newBuilder() to construct.
   private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Resource() {
     name_ = "";
     intent_ = 0;
@@ -29,14 +47,13 @@ private Resource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Resource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Resource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Resource_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -47,28 +64,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 3:
         return internalGetCaiAssets();
       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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Resource_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Resource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.Resource.class, com.google.cloud.config.v1.Resource.Builder.class);
+            com.google.cloud.config.v1.Resource.class,
+            com.google.cloud.config.v1.Resource.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible intent of the resource.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Resource.Intent} */ - public enum Intent - implements com.google.protobuf.ProtocolMessageEnum { + public enum Intent implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the intent is omitted.
      * 
@@ -77,6 +99,8 @@ public enum Intent */ INTENT_UNSPECIFIED(0), /** + * + * *
      * Infra Manager will create this Resource.
      * 
@@ -85,6 +109,8 @@ public enum Intent */ CREATE(1), /** + * + * *
      * Infra Manager will update this Resource.
      * 
@@ -93,6 +119,8 @@ public enum Intent */ UPDATE(2), /** + * + * *
      * Infra Manager will delete this Resource.
      * 
@@ -101,6 +129,8 @@ public enum Intent */ DELETE(3), /** + * + * *
      * Infra Manager will destroy and recreate this Resource.
      * 
@@ -109,6 +139,8 @@ public enum Intent */ RECREATE(4), /** + * + * *
      * Infra Manager will leave this Resource untouched.
      * 
@@ -120,6 +152,8 @@ public enum Intent ; /** + * + * *
      * The default value. This value is used if the intent is omitted.
      * 
@@ -128,6 +162,8 @@ public enum Intent */ public static final int INTENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Infra Manager will create this Resource.
      * 
@@ -136,6 +172,8 @@ public enum Intent */ public static final int CREATE_VALUE = 1; /** + * + * *
      * Infra Manager will update this Resource.
      * 
@@ -144,6 +182,8 @@ public enum Intent */ public static final int UPDATE_VALUE = 2; /** + * + * *
      * Infra Manager will delete this Resource.
      * 
@@ -152,6 +192,8 @@ public enum Intent */ public static final int DELETE_VALUE = 3; /** + * + * *
      * Infra Manager will destroy and recreate this Resource.
      * 
@@ -160,6 +202,8 @@ public enum Intent */ public static final int RECREATE_VALUE = 4; /** + * + * *
      * Infra Manager will leave this Resource untouched.
      * 
@@ -168,7 +212,6 @@ public enum Intent */ public static final int UNCHANGED_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -193,52 +236,55 @@ public static Intent valueOf(int value) { */ public static Intent forNumber(int value) { switch (value) { - case 0: return INTENT_UNSPECIFIED; - case 1: return CREATE; - case 2: return UPDATE; - case 3: return DELETE; - case 4: return RECREATE; - case 5: return UNCHANGED; - default: return null; + case 0: + return INTENT_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return UPDATE; + case 3: + return DELETE; + case 4: + return RECREATE; + case 5: + return UNCHANGED; + 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< - Intent> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Intent findValueByNumber(int number) { - return Intent.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 Intent findValueByNumber(int number) { + return Intent.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Resource.getDescriptor().getEnumTypes().get(0); } private static final Intent[] VALUES = values(); - public static Intent valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Intent 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; @@ -256,15 +302,18 @@ private Intent(int value) { } /** + * + * *
    * Possible states of a resource.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Resource.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -273,6 +322,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Resource has been planned for reconcile.
      * 
@@ -281,6 +332,8 @@ public enum State */ PLANNED(1), /** + * + * *
      * Resource is actively reconciling into the intended state.
      * 
@@ -289,6 +342,8 @@ public enum State */ IN_PROGRESS(2), /** + * + * *
      * Resource has reconciled to intended state.
      * 
@@ -297,6 +352,8 @@ public enum State */ RECONCILED(3), /** + * + * *
      * Resource failed to reconcile.
      * 
@@ -308,6 +365,8 @@ public enum State ; /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -316,6 +375,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Resource has been planned for reconcile.
      * 
@@ -324,6 +385,8 @@ public enum State */ public static final int PLANNED_VALUE = 1; /** + * + * *
      * Resource is actively reconciling into the intended state.
      * 
@@ -332,6 +395,8 @@ public enum State */ public static final int IN_PROGRESS_VALUE = 2; /** + * + * *
      * Resource has reconciled to intended state.
      * 
@@ -340,6 +405,8 @@ public enum State */ public static final int RECONCILED_VALUE = 3; /** + * + * *
      * Resource failed to reconcile.
      * 
@@ -348,7 +415,6 @@ public enum State */ public static final int FAILED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -373,51 +439,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PLANNED; - case 2: return IN_PROGRESS; - case 3: return RECONCILED; - case 4: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return PLANNED; + case 2: + return IN_PROGRESS; + case 3: + return RECONCILED; + case 4: + return FAILED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Resource.getDescriptor().getEnumTypes().get(1); } 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; @@ -436,9 +504,12 @@ private State(int value) { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name.
    * Format:
@@ -446,6 +517,7 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -454,14 +526,15 @@ 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. Resource name.
    * Format:
@@ -469,16 +542,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -489,12 +561,17 @@ public java.lang.String getName() { public static final int TERRAFORM_INFO_FIELD_NUMBER = 2; private com.google.cloud.config.v1.ResourceTerraformInfo terraformInfo_; /** + * + * *
    * Output only. Terraform-specific info if this resource was created using
    * Terraform.
    * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the terraformInfo field is set. */ @java.lang.Override @@ -502,126 +579,163 @@ public boolean hasTerraformInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. Terraform-specific info if this resource was created using
    * Terraform.
    * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The terraformInfo. */ @java.lang.Override public com.google.cloud.config.v1.ResourceTerraformInfo getTerraformInfo() { - return terraformInfo_ == null ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() : terraformInfo_; + return terraformInfo_ == null + ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() + : terraformInfo_; } /** + * + * *
    * Output only. Terraform-specific info if this resource was created using
    * Terraform.
    * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder getTerraformInfoOrBuilder() { - return terraformInfo_ == null ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() : terraformInfo_; + return terraformInfo_ == null + ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() + : terraformInfo_; } public static final int CAI_ASSETS_FIELD_NUMBER = 3; + private static final class CaiAssetsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.config.v1.ResourceCAIInfo> defaultEntry = + java.lang.String, com.google.cloud.config.v1.ResourceCAIInfo> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.config.v1.ResourceCAIInfo.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.config.v1.ResourceCAIInfo.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.config.v1.ResourceCAIInfo> caiAssets_; private com.google.protobuf.MapField - internalGetCaiAssets() { + caiAssets_; + + private com.google.protobuf.MapField + internalGetCaiAssets() { if (caiAssets_ == null) { - return com.google.protobuf.MapField.emptyMapField( - CaiAssetsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(CaiAssetsDefaultEntryHolder.defaultEntry); } return caiAssets_; } + public int getCaiAssetsCount() { return internalGetCaiAssets().getMap().size(); } /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsCaiAssets( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCaiAssets(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCaiAssets().getMap().containsKey(key); } - /** - * Use {@link #getCaiAssetsMap()} instead. - */ + /** Use {@link #getCaiAssetsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCaiAssets() { + public java.util.Map + getCaiAssets() { return getCaiAssetsMap(); } /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getCaiAssetsMap() { + public java.util.Map + getCaiAssetsMap() { return internalGetCaiAssets().getMap(); } /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrDefault( + public /* nullable */ com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.ResourceCAIInfo defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.config.v1.ResourceCAIInfo defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCaiAssets().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCaiAssets().getMap(); if (!map.containsKey(key)) { @@ -633,56 +747,83 @@ public com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow( public static final int INTENT_FIELD_NUMBER = 4; private int intent_ = 0; /** + * + * *
    * Output only. Intent of the resource.
    * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for intent. */ - @java.lang.Override public int getIntentValue() { + @java.lang.Override + public int getIntentValue() { return intent_; } /** + * + * *
    * Output only. Intent of the resource.
    * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The intent. */ - @java.lang.Override public com.google.cloud.config.v1.Resource.Intent getIntent() { - com.google.cloud.config.v1.Resource.Intent result = com.google.cloud.config.v1.Resource.Intent.forNumber(intent_); + @java.lang.Override + public com.google.cloud.config.v1.Resource.Intent getIntent() { + com.google.cloud.config.v1.Resource.Intent result = + com.google.cloud.config.v1.Resource.Intent.forNumber(intent_); return result == null ? com.google.cloud.config.v1.Resource.Intent.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. Current state of the resource.
    * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.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. Current state of the resource.
    * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.config.v1.Resource.State getState() { - com.google.cloud.config.v1.Resource.State result = com.google.cloud.config.v1.Resource.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.config.v1.Resource.State getState() { + com.google.cloud.config.v1.Resource.State result = + com.google.cloud.config.v1.Resource.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Resource.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -694,20 +835,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getTerraformInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetCaiAssets(), - CaiAssetsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetCaiAssets(), CaiAssetsDefaultEntryHolder.defaultEntry, 3); if (intent_ != com.google.cloud.config.v1.Resource.Intent.INTENT_UNSPECIFIED.getNumber()) { output.writeEnum(4, intent_); } @@ -727,26 +863,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTerraformInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTerraformInfo()); } - for (java.util.Map.Entry entry - : internalGetCaiAssets().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetCaiAssets().getMap().entrySet()) { com.google.protobuf.MapEntry - caiAssets__ = CaiAssetsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, caiAssets__); + caiAssets__ = + CaiAssetsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, caiAssets__); } if (intent_ != com.google.cloud.config.v1.Resource.Intent.INTENT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, intent_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, intent_); } if (state_ != com.google.cloud.config.v1.Resource.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -756,22 +890,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.config.v1.Resource)) { return super.equals(obj); } com.google.cloud.config.v1.Resource other = (com.google.cloud.config.v1.Resource) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasTerraformInfo() != other.hasTerraformInfo()) return false; if (hasTerraformInfo()) { - if (!getTerraformInfo() - .equals(other.getTerraformInfo())) return false; + if (!getTerraformInfo().equals(other.getTerraformInfo())) return false; } - if (!internalGetCaiAssets().equals( - other.internalGetCaiAssets())) return false; + if (!internalGetCaiAssets().equals(other.internalGetCaiAssets())) return false; if (intent_ != other.intent_) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -804,99 +935,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.Resource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.Resource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Resource 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.config.v1.Resource parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.Resource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Resource 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.config.v1.Resource 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.config.v1.Resource 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.config.v1.Resource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.Resource 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.config.v1.Resource 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.config.v1.Resource 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.config.v1.Resource 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; } /** + * + * *
    * Resource represents a Google Cloud Platform resource actuated by IM.
    * Resources are child resources of Revisions.
@@ -904,13 +1039,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.Resource}
    */
-  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.config.v1.Resource)
       com.google.cloud.config.v1.ResourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Resource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Resource_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -920,10 +1055,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 3:
           return internalGetCaiAssets();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -931,16 +1066,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 3:
           return internalGetMutableCaiAssets();
         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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Resource_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Resource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.Resource.class, com.google.cloud.config.v1.Resource.Builder.class);
+              com.google.cloud.config.v1.Resource.class,
+              com.google.cloud.config.v1.Resource.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.Resource.newBuilder()
@@ -948,17 +1085,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) {
         getTerraformInfoFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -976,9 +1113,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Resource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Resource_descriptor;
     }
 
     @java.lang.Override
@@ -998,7 +1135,9 @@ public com.google.cloud.config.v1.Resource build() {
     @java.lang.Override
     public com.google.cloud.config.v1.Resource buildPartial() {
       com.google.cloud.config.v1.Resource result = new com.google.cloud.config.v1.Resource(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1010,9 +1149,8 @@ private void buildPartial0(com.google.cloud.config.v1.Resource result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.terraformInfo_ = terraformInfoBuilder_ == null
-            ? terraformInfo_
-            : terraformInfoBuilder_.build();
+        result.terraformInfo_ =
+            terraformInfoBuilder_ == null ? terraformInfo_ : terraformInfoBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -1031,38 +1169,39 @@ private void buildPartial0(com.google.cloud.config.v1.Resource result) {
     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.config.v1.Resource) {
-        return mergeFrom((com.google.cloud.config.v1.Resource)other);
+        return mergeFrom((com.google.cloud.config.v1.Resource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1079,8 +1218,7 @@ public Builder mergeFrom(com.google.cloud.config.v1.Resource other) {
       if (other.hasTerraformInfo()) {
         mergeTerraformInfo(other.getTerraformInfo());
       }
-      internalGetMutableCaiAssets().mergeFrom(
-          other.internalGetCaiAssets());
+      internalGetMutableCaiAssets().mergeFrom(other.internalGetCaiAssets());
       bitField0_ |= 0x00000004;
       if (other.intent_ != 0) {
         setIntentValue(other.getIntentValue());
@@ -1114,43 +1252,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTerraformInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              caiAssets__ = input.readMessage(
-                  CaiAssetsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableCaiAssets().ensureBuilderMap().put(
-                  caiAssets__.getKey(), caiAssets__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              intent_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTerraformInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.config.v1.ResourceCAIInfo>
+                    caiAssets__ =
+                        input.readMessage(
+                            CaiAssetsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableCaiAssets()
+                    .ensureBuilderMap()
+                    .put(caiAssets__.getKey(), caiAssets__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                intent_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1160,10 +1306,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name.
      * Format:
@@ -1171,13 +1320,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1186,6 +1335,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format:
@@ -1193,15 +1344,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -1209,6 +1359,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format:
@@ -1216,18 +1368,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name.
      * Format:
@@ -1235,6 +1391,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1244,6 +1401,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name.
      * Format:
@@ -1251,12 +1410,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1266,42 +1427,61 @@ public Builder setNameBytes( private com.google.cloud.config.v1.ResourceTerraformInfo terraformInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ResourceTerraformInfo, com.google.cloud.config.v1.ResourceTerraformInfo.Builder, com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder> terraformInfoBuilder_; + com.google.cloud.config.v1.ResourceTerraformInfo, + com.google.cloud.config.v1.ResourceTerraformInfo.Builder, + com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder> + terraformInfoBuilder_; /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the terraformInfo field is set. */ public boolean hasTerraformInfo() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The terraformInfo. */ public com.google.cloud.config.v1.ResourceTerraformInfo getTerraformInfo() { if (terraformInfoBuilder_ == null) { - return terraformInfo_ == null ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() : terraformInfo_; + return terraformInfo_ == null + ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() + : terraformInfo_; } else { return terraformInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTerraformInfo(com.google.cloud.config.v1.ResourceTerraformInfo value) { if (terraformInfoBuilder_ == null) { @@ -1317,12 +1497,16 @@ public Builder setTerraformInfo(com.google.cloud.config.v1.ResourceTerraformInfo return this; } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTerraformInfo( com.google.cloud.config.v1.ResourceTerraformInfo.Builder builderForValue) { @@ -1336,18 +1520,23 @@ public Builder setTerraformInfo( return this; } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTerraformInfo(com.google.cloud.config.v1.ResourceTerraformInfo value) { if (terraformInfoBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - terraformInfo_ != null && - terraformInfo_ != com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && terraformInfo_ != null + && terraformInfo_ + != com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance()) { getTerraformInfoBuilder().mergeFrom(value); } else { terraformInfo_ = value; @@ -1362,12 +1551,16 @@ public Builder mergeTerraformInfo(com.google.cloud.config.v1.ResourceTerraformIn return this; } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTerraformInfo() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1380,12 +1573,16 @@ public Builder clearTerraformInfo() { return this; } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ResourceTerraformInfo.Builder getTerraformInfoBuilder() { bitField0_ |= 0x00000002; @@ -1393,67 +1590,103 @@ public com.google.cloud.config.v1.ResourceTerraformInfo.Builder getTerraformInfo return getTerraformInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder getTerraformInfoOrBuilder() { if (terraformInfoBuilder_ != null) { return terraformInfoBuilder_.getMessageOrBuilder(); } else { - return terraformInfo_ == null ? - com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() : terraformInfo_; + return terraformInfo_ == null + ? com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance() + : terraformInfo_; } } /** + * + * *
      * Output only. Terraform-specific info if this resource was created using
      * Terraform.
      * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ResourceTerraformInfo, com.google.cloud.config.v1.ResourceTerraformInfo.Builder, com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder> + com.google.cloud.config.v1.ResourceTerraformInfo, + com.google.cloud.config.v1.ResourceTerraformInfo.Builder, + com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder> getTerraformInfoFieldBuilder() { if (terraformInfoBuilder_ == null) { - terraformInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ResourceTerraformInfo, com.google.cloud.config.v1.ResourceTerraformInfo.Builder, com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder>( - getTerraformInfo(), - getParentForChildren(), - isClean()); + terraformInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.ResourceTerraformInfo, + com.google.cloud.config.v1.ResourceTerraformInfo.Builder, + com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder>( + getTerraformInfo(), getParentForChildren(), isClean()); terraformInfo_ = null; } return terraformInfoBuilder_; } - private static final class CaiAssetsConverter implements com.google.protobuf.MapFieldBuilder.Converter { + private static final class CaiAssetsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.config.v1.ResourceCAIInfoOrBuilder, + com.google.cloud.config.v1.ResourceCAIInfo> { @java.lang.Override - public com.google.cloud.config.v1.ResourceCAIInfo build(com.google.cloud.config.v1.ResourceCAIInfoOrBuilder val) { - if (val instanceof com.google.cloud.config.v1.ResourceCAIInfo) { return (com.google.cloud.config.v1.ResourceCAIInfo) val; } + public com.google.cloud.config.v1.ResourceCAIInfo build( + com.google.cloud.config.v1.ResourceCAIInfoOrBuilder val) { + if (val instanceof com.google.cloud.config.v1.ResourceCAIInfo) { + return (com.google.cloud.config.v1.ResourceCAIInfo) val; + } return ((com.google.cloud.config.v1.ResourceCAIInfo.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.ResourceCAIInfo> + defaultEntry() { return CaiAssetsDefaultEntryHolder.defaultEntry; } }; + private static final CaiAssetsConverter caiAssetsConverter = new CaiAssetsConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, com.google.cloud.config.v1.ResourceCAIInfoOrBuilder, com.google.cloud.config.v1.ResourceCAIInfo, com.google.cloud.config.v1.ResourceCAIInfo.Builder> caiAssets_; - private com.google.protobuf.MapFieldBuilder + java.lang.String, + com.google.cloud.config.v1.ResourceCAIInfoOrBuilder, + com.google.cloud.config.v1.ResourceCAIInfo, + com.google.cloud.config.v1.ResourceCAIInfo.Builder> + caiAssets_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.ResourceCAIInfoOrBuilder, + com.google.cloud.config.v1.ResourceCAIInfo, + com.google.cloud.config.v1.ResourceCAIInfo.Builder> internalGetCaiAssets() { if (caiAssets_ == null) { return new com.google.protobuf.MapFieldBuilder<>(caiAssetsConverter); } return caiAssets_; } - private com.google.protobuf.MapFieldBuilder + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.ResourceCAIInfoOrBuilder, + com.google.cloud.config.v1.ResourceCAIInfo, + com.google.cloud.config.v1.ResourceCAIInfo.Builder> internalGetMutableCaiAssets() { if (caiAssets_ == null) { caiAssets_ = new com.google.protobuf.MapFieldBuilder<>(caiAssetsConverter); @@ -1462,107 +1695,132 @@ public com.google.protobuf.MapEntry * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI * ID). CAI type format follows * https://cloud.google.com/asset-inventory/docs/supported-asset-types *
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public boolean containsCaiAssets( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCaiAssets(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCaiAssets().ensureBuilderMap().containsKey(key); } - /** - * Use {@link #getCaiAssetsMap()} instead. - */ + /** Use {@link #getCaiAssetsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCaiAssets() { + public java.util.Map + getCaiAssets() { return getCaiAssetsMap(); } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.Map getCaiAssetsMap() { + public java.util.Map + getCaiAssetsMap() { return internalGetCaiAssets().getImmutableMap(); } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrDefault( + public /* nullable */ com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.ResourceCAIInfo defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = internalGetMutableCaiAssets().ensureBuilderMap(); + com.google.cloud.config.v1.ResourceCAIInfo defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableCaiAssets().ensureBuilderMap(); return map.containsKey(key) ? caiAssetsConverter.build(map.get(key)) : defaultValue; } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = internalGetMutableCaiAssets().ensureBuilderMap(); + public com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableCaiAssets().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return caiAssetsConverter.build(map.get(key)); } + public Builder clearCaiAssets() { bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableCaiAssets().clear(); return this; } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeCaiAssets( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableCaiAssets().ensureBuilderMap() - .remove(key); + public Builder removeCaiAssets(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCaiAssets().ensureBuilderMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCaiAssets() { @@ -1570,57 +1828,72 @@ public Builder removeCaiAssets( return internalGetMutableCaiAssets().ensureMessageMap(); } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putCaiAssets( - java.lang.String key, - com.google.cloud.config.v1.ResourceCAIInfo value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableCaiAssets().ensureBuilderMap() - .put(key, value); + java.lang.String key, com.google.cloud.config.v1.ResourceCAIInfo value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableCaiAssets().ensureBuilderMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllCaiAssets( java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { + for (java.util.Map.Entry e : + values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableCaiAssets().ensureBuilderMap() - .putAll(values); + internalGetMutableCaiAssets().ensureBuilderMap().putAll(values); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
      * ID). CAI type format follows
      * https://cloud.google.com/asset-inventory/docs/supported-asset-types
      * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ResourceCAIInfo.Builder putCaiAssetsBuilderIfAbsent( java.lang.String key) { - java.util.Map builderMap = internalGetMutableCaiAssets().ensureBuilderMap(); + java.util.Map + builderMap = internalGetMutableCaiAssets().ensureBuilderMap(); com.google.cloud.config.v1.ResourceCAIInfoOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.cloud.config.v1.ResourceCAIInfo.newBuilder(); @@ -1635,22 +1908,33 @@ public com.google.cloud.config.v1.ResourceCAIInfo.Builder putCaiAssetsBuilderIfA private int intent_ = 0; /** + * + * *
      * Output only. Intent of the resource.
      * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for intent. */ - @java.lang.Override public int getIntentValue() { + @java.lang.Override + public int getIntentValue() { return intent_; } /** + * + * *
      * Output only. Intent of the resource.
      * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for intent to set. * @return This builder for chaining. */ @@ -1661,24 +1945,35 @@ public Builder setIntentValue(int value) { return this; } /** + * + * *
      * Output only. Intent of the resource.
      * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The intent. */ @java.lang.Override public com.google.cloud.config.v1.Resource.Intent getIntent() { - com.google.cloud.config.v1.Resource.Intent result = com.google.cloud.config.v1.Resource.Intent.forNumber(intent_); + com.google.cloud.config.v1.Resource.Intent result = + com.google.cloud.config.v1.Resource.Intent.forNumber(intent_); return result == null ? com.google.cloud.config.v1.Resource.Intent.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Intent of the resource.
      * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The intent to set. * @return This builder for chaining. */ @@ -1692,11 +1987,16 @@ public Builder setIntent(com.google.cloud.config.v1.Resource.Intent value) { return this; } /** + * + * *
      * Output only. Intent of the resource.
      * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIntent() { @@ -1708,22 +2008,33 @@ public Builder clearIntent() { private int state_ = 0; /** + * + * *
      * Output only. Current state of the resource.
      * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.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. Current state of the resource.
      * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1734,24 +2045,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the resource.
      * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.config.v1.Resource.State getState() { - com.google.cloud.config.v1.Resource.State result = com.google.cloud.config.v1.Resource.State.forNumber(state_); + com.google.cloud.config.v1.Resource.State result = + com.google.cloud.config.v1.Resource.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Resource.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the resource.
      * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1765,11 +2087,16 @@ public Builder setState(com.google.cloud.config.v1.Resource.State value) { return this; } /** + * + * *
      * Output only. Current state of the resource.
      * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1778,9 +2105,9 @@ public Builder clearState() { 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); } @@ -1790,12 +2117,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.Resource) private static final com.google.cloud.config.v1.Resource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.Resource(); } @@ -1804,27 +2131,27 @@ public static com.google.cloud.config.v1.Resource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1839,6 +2166,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java similarity index 66% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java index 697251ea6f78..ba02296b8048 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,63 @@ package com.google.cloud.config.v1; /** + * + * *
  * CAI info of a Resource.
  * 
* * Protobuf type {@code google.cloud.config.v1.ResourceCAIInfo} */ -public final class ResourceCAIInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceCAIInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ResourceCAIInfo) ResourceCAIInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceCAIInfo.newBuilder() to construct. private ResourceCAIInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceCAIInfo() { fullResourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceCAIInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ResourceCAIInfo.class, com.google.cloud.config.v1.ResourceCAIInfo.Builder.class); + com.google.cloud.config.v1.ResourceCAIInfo.class, + com.google.cloud.config.v1.ResourceCAIInfo.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fullResourceName_ = ""; /** + * + * *
    * CAI resource name in the format following
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -62,30 +85,30 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
    * CAI resource name in the format following
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -94,6 +117,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,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(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -130,15 +153,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.config.v1.ResourceCAIInfo)) { return super.equals(obj); } - com.google.cloud.config.v1.ResourceCAIInfo other = (com.google.cloud.config.v1.ResourceCAIInfo) obj; + com.google.cloud.config.v1.ResourceCAIInfo other = + (com.google.cloud.config.v1.ResourceCAIInfo) obj; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +180,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ResourceCAIInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ResourceCAIInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ResourceCAIInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ResourceCAIInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ResourceCAIInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo 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.config.v1.ResourceCAIInfo 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; } /** + * + * *
    * CAI info of a Resource.
    * 
* * Protobuf type {@code google.cloud.config.v1.ResourceCAIInfo} */ - 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.config.v1.ResourceCAIInfo) com.google.cloud.config.v1.ResourceCAIInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ResourceCAIInfo.class, com.google.cloud.config.v1.ResourceCAIInfo.Builder.class); + com.google.cloud.config.v1.ResourceCAIInfo.class, + com.google.cloud.config.v1.ResourceCAIInfo.Builder.class); } // Construct using com.google.cloud.config.v1.ResourceCAIInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; } @java.lang.Override @@ -313,8 +340,11 @@ public com.google.cloud.config.v1.ResourceCAIInfo build() { @java.lang.Override public com.google.cloud.config.v1.ResourceCAIInfo buildPartial() { - com.google.cloud.config.v1.ResourceCAIInfo result = new com.google.cloud.config.v1.ResourceCAIInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ResourceCAIInfo result = + new com.google.cloud.config.v1.ResourceCAIInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +360,39 @@ private void buildPartial0(com.google.cloud.config.v1.ResourceCAIInfo result) { 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.config.v1.ResourceCAIInfo) { - return mergeFrom((com.google.cloud.config.v1.ResourceCAIInfo)other); + return mergeFrom((com.google.cloud.config.v1.ResourceCAIInfo) other); } else { super.mergeFrom(other); return this; @@ -401,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fullResourceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fullResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +454,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** + * + * *
      * CAI resource name in the format following
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -446,21 +482,22 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
      * CAI resource name in the format following
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -468,30 +505,37 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
      * CAI resource name in the format following
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource_name = 1; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fullResourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * CAI resource name in the format following
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -501,27 +545,31 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
      * CAI resource name in the format following
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource_name = 1; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fullResourceName_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ResourceCAIInfo) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ResourceCAIInfo) private static final com.google.cloud.config.v1.ResourceCAIInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ResourceCAIInfo(); } @@ -545,27 +593,27 @@ public static com.google.cloud.config.v1.ResourceCAIInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceCAIInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceCAIInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +628,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ResourceCAIInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java similarity index 53% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java index a31e95254b76..72317930ff72 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceCAIInfoOrBuilder.java @@ -1,32 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ResourceCAIInfoOrBuilder extends +public interface ResourceCAIInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ResourceCAIInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * CAI resource name in the format following
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
    * CAI resource name in the format following
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceName.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceName.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceName.java diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java similarity index 56% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java index 669edc0d718c..606e4db20179 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ResourceOrBuilder extends +public interface ResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.Resource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name.
    * Format:
@@ -16,10 +34,13 @@ public interface ResourceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name.
    * Format:
@@ -27,139 +48,187 @@ public interface ResourceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Terraform-specific info if this resource was created using
    * Terraform.
    * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the terraformInfo field is set. */ boolean hasTerraformInfo(); /** + * + * *
    * Output only. Terraform-specific info if this resource was created using
    * Terraform.
    * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The terraformInfo. */ com.google.cloud.config.v1.ResourceTerraformInfo getTerraformInfo(); /** + * + * *
    * Output only. Terraform-specific info if this resource was created using
    * Terraform.
    * 
* - * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ResourceTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder getTerraformInfoOrBuilder(); /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getCaiAssetsCount(); /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsCaiAssets( - java.lang.String key); - /** - * Use {@link #getCaiAssetsMap()} instead. + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ + boolean containsCaiAssets(java.lang.String key); + /** Use {@link #getCaiAssetsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getCaiAssets(); + java.util.Map getCaiAssets(); /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.Map - getCaiAssetsMap(); + java.util.Map getCaiAssetsMap(); /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ /* nullable */ -com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrDefault( + com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.ResourceCAIInfo defaultValue); + com.google.cloud.config.v1.ResourceCAIInfo defaultValue); /** + * + * *
    * Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
    * ID). CAI type format follows
    * https://cloud.google.com/asset-inventory/docs/supported-asset-types
    * 
* - * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.cloud.config.v1.ResourceCAIInfo> cai_assets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow( - java.lang.String key); + com.google.cloud.config.v1.ResourceCAIInfo getCaiAssetsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Intent of the resource.
    * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for intent. */ int getIntentValue(); /** + * + * *
    * Output only. Intent of the resource.
    * 
* - * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.Intent intent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The intent. */ com.google.cloud.config.v1.Resource.Intent getIntent(); /** + * + * *
    * Output only. Current state of the resource.
    * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the resource.
    * 
* - * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Resource.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.config.v1.Resource.State getState(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java similarity index 68% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java index 00947e9bb56c..0d5ac23dc26c 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Terraform info of a Resource.
  * 
* * Protobuf type {@code google.cloud.config.v1.ResourceTerraformInfo} */ -public final class ResourceTerraformInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceTerraformInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ResourceTerraformInfo) ResourceTerraformInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceTerraformInfo.newBuilder() to construct. private ResourceTerraformInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceTerraformInfo() { address_ = ""; type_ = ""; @@ -28,34 +46,39 @@ private ResourceTerraformInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceTerraformInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ResourceTerraformInfo.class, com.google.cloud.config.v1.ResourceTerraformInfo.Builder.class); + com.google.cloud.config.v1.ResourceTerraformInfo.class, + com.google.cloud.config.v1.ResourceTerraformInfo.Builder.class); } public static final int ADDRESS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object address_ = ""; /** + * + * *
    * TF resource address that uniquely identifies this resource within this
    * deployment.
    * 
* * string address = 1; + * * @return The address. */ @java.lang.Override @@ -64,30 +87,30 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** + * + * *
    * TF resource address that uniquely identifies this resource within this
    * deployment.
    * 
* * string address = 1; + * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -96,14 +119,18 @@ public java.lang.String getAddress() { } public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
    * TF resource type
    * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -112,29 +139,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * TF resource type
    * 
* * string type = 2; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -143,14 +170,18 @@ public java.lang.String getType() { } public static final int ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * ID attribute of the TF resource
    * 
* * string id = 3; + * * @return The id. */ @java.lang.Override @@ -159,29 +190,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * ID attribute of the TF resource
    * 
* * string id = 3; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -190,6 +221,7 @@ public java.lang.String getId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +233,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(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -238,19 +269,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.config.v1.ResourceTerraformInfo)) { return super.equals(obj); } - com.google.cloud.config.v1.ResourceTerraformInfo other = (com.google.cloud.config.v1.ResourceTerraformInfo) obj; + com.google.cloud.config.v1.ResourceTerraformInfo other = + (com.google.cloud.config.v1.ResourceTerraformInfo) obj; - if (!getAddress() - .equals(other.getAddress())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getId() - .equals(other.getId())) return false; + if (!getAddress().equals(other.getAddress())) return false; + if (!getType().equals(other.getType())) return false; + if (!getId().equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,132 +302,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.ResourceTerraformInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.ResourceTerraformInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ResourceTerraformInfo 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.config.v1.ResourceTerraformInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ResourceTerraformInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.ResourceTerraformInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.ResourceTerraformInfo 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.config.v1.ResourceTerraformInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.ResourceTerraformInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.ResourceTerraformInfo 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.config.v1.ResourceTerraformInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.ResourceTerraformInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.ResourceTerraformInfo 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.config.v1.ResourceTerraformInfo 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.config.v1.ResourceTerraformInfo 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.config.v1.ResourceTerraformInfo 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; } /** + * + * *
    * Terraform info of a Resource.
    * 
* * Protobuf type {@code google.cloud.config.v1.ResourceTerraformInfo} */ - 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.config.v1.ResourceTerraformInfo) com.google.cloud.config.v1.ResourceTerraformInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.ResourceTerraformInfo.class, com.google.cloud.config.v1.ResourceTerraformInfo.Builder.class); + com.google.cloud.config.v1.ResourceTerraformInfo.class, + com.google.cloud.config.v1.ResourceTerraformInfo.Builder.class); } // Construct using com.google.cloud.config.v1.ResourceTerraformInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; } @java.lang.Override @@ -431,8 +464,11 @@ public com.google.cloud.config.v1.ResourceTerraformInfo build() { @java.lang.Override public com.google.cloud.config.v1.ResourceTerraformInfo buildPartial() { - com.google.cloud.config.v1.ResourceTerraformInfo result = new com.google.cloud.config.v1.ResourceTerraformInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.ResourceTerraformInfo result = + new com.google.cloud.config.v1.ResourceTerraformInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -454,38 +490,39 @@ private void buildPartial0(com.google.cloud.config.v1.ResourceTerraformInfo resu 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.config.v1.ResourceTerraformInfo) { - return mergeFrom((com.google.cloud.config.v1.ResourceTerraformInfo)other); + return mergeFrom((com.google.cloud.config.v1.ResourceTerraformInfo) other); } else { super.mergeFrom(other); return this; @@ -493,7 +530,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.ResourceTerraformInfo other) { - if (other == com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.ResourceTerraformInfo.getDefaultInstance()) + return this; if (!other.getAddress().isEmpty()) { address_ = other.address_; bitField0_ |= 0x00000001; @@ -535,27 +573,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - address_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + address_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -565,23 +607,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object address_ = ""; /** + * + * *
      * TF resource address that uniquely identifies this resource within this
      * deployment.
      * 
* * string address = 1; + * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -590,21 +635,22 @@ public java.lang.String getAddress() { } } /** + * + * *
      * TF resource address that uniquely identifies this resource within this
      * deployment.
      * 
* * string address = 1; + * * @return The bytes for address. */ - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -612,30 +658,37 @@ public java.lang.String getAddress() { } } /** + * + * *
      * TF resource address that uniquely identifies this resource within this
      * deployment.
      * 
* * string address = 1; + * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } address_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * TF resource address that uniquely identifies this resource within this
      * deployment.
      * 
* * string address = 1; + * * @return This builder for chaining. */ public Builder clearAddress() { @@ -645,18 +698,22 @@ public Builder clearAddress() { return this; } /** + * + * *
      * TF resource address that uniquely identifies this resource within this
      * deployment.
      * 
* * string address = 1; + * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); address_ = value; bitField0_ |= 0x00000001; @@ -666,18 +723,20 @@ public Builder setAddressBytes( private java.lang.Object type_ = ""; /** + * + * *
      * TF resource type
      * 
* * string type = 2; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -686,20 +745,21 @@ public java.lang.String getType() { } } /** + * + * *
      * TF resource type
      * 
* * string type = 2; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -707,28 +767,35 @@ public java.lang.String getType() { } } /** + * + * *
      * TF resource type
      * 
* * string type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * TF resource type
      * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -738,17 +805,21 @@ public Builder clearType() { return this; } /** + * + * *
      * TF resource type
      * 
* * string type = 2; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -758,18 +829,20 @@ public Builder setTypeBytes( private java.lang.Object id_ = ""; /** + * + * *
      * ID attribute of the TF resource
      * 
* * string id = 3; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -778,20 +851,21 @@ public java.lang.String getId() { } } /** + * + * *
      * ID attribute of the TF resource
      * 
* * string id = 3; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -799,28 +873,35 @@ public java.lang.String getId() { } } /** + * + * *
      * ID attribute of the TF resource
      * 
* * string id = 3; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * ID attribute of the TF resource
      * 
* * string id = 3; + * * @return This builder for chaining. */ public Builder clearId() { @@ -830,26 +911,30 @@ public Builder clearId() { return this; } /** + * + * *
      * ID attribute of the TF resource
      * 
* * string id = 3; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000004; 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); } @@ -859,12 +944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ResourceTerraformInfo) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ResourceTerraformInfo) private static final com.google.cloud.config.v1.ResourceTerraformInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.ResourceTerraformInfo(); } @@ -873,27 +958,27 @@ public static com.google.cloud.config.v1.ResourceTerraformInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceTerraformInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceTerraformInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,6 +993,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.ResourceTerraformInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java similarity index 59% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java index ecaca9c0dea3..65974422b41e 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ResourceTerraformInfoOrBuilder.java @@ -1,72 +1,103 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface ResourceTerraformInfoOrBuilder extends +public interface ResourceTerraformInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ResourceTerraformInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * TF resource address that uniquely identifies this resource within this
    * deployment.
    * 
* * string address = 1; + * * @return The address. */ java.lang.String getAddress(); /** + * + * *
    * TF resource address that uniquely identifies this resource within this
    * deployment.
    * 
* * string address = 1; + * * @return The bytes for address. */ - com.google.protobuf.ByteString - getAddressBytes(); + com.google.protobuf.ByteString getAddressBytes(); /** + * + * *
    * TF resource type
    * 
* * string type = 2; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * TF resource type
    * 
* * string type = 2; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * ID attribute of the TF resource
    * 
* * string id = 3; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * ID attribute of the TF resource
    * 
* * string id = 3; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java similarity index 69% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java index 2b895ce5f1a8..fd03aeddf67c 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Revision.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * A child resource of a Deployment generated by a 'CreateDeployment' or
  * 'UpdateDeployment' call. Each Revision contains metadata pertaining to a
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.config.v1.Revision}
  */
-public final class Revision extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Revision extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.Revision)
     RevisionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Revision.newBuilder() to construct.
   private Revision(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Revision() {
     name_ = "";
     action_ = 0;
@@ -42,34 +60,38 @@ private Revision() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Revision();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Revision_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Revision_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Revision_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_Revision_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.Revision.class, com.google.cloud.config.v1.Revision.Builder.class);
+            com.google.cloud.config.v1.Revision.class,
+            com.google.cloud.config.v1.Revision.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Actions that generate a revision.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Revision.Action} */ - public enum Action - implements com.google.protobuf.ProtocolMessageEnum { + public enum Action implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the action is omitted.
      * 
@@ -78,6 +100,8 @@ public enum Action */ ACTION_UNSPECIFIED(0), /** + * + * *
      * The revision was generated by creating a deployment.
      * 
@@ -86,6 +110,8 @@ public enum Action */ CREATE(1), /** + * + * *
      * The revision was generated by updating a deployment.
      * 
@@ -94,6 +120,8 @@ public enum Action */ UPDATE(2), /** + * + * *
      * The revision was deleted.
      * 
@@ -105,6 +133,8 @@ public enum Action ; /** + * + * *
      * The default value. This value is used if the action is omitted.
      * 
@@ -113,6 +143,8 @@ public enum Action */ public static final int ACTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The revision was generated by creating a deployment.
      * 
@@ -121,6 +153,8 @@ public enum Action */ public static final int CREATE_VALUE = 1; /** + * + * *
      * The revision was generated by updating a deployment.
      * 
@@ -129,6 +163,8 @@ public enum Action */ public static final int UPDATE_VALUE = 2; /** + * + * *
      * The revision was deleted.
      * 
@@ -137,7 +173,6 @@ public enum Action */ public static final int DELETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,50 +197,51 @@ public static Action valueOf(int value) { */ public static Action forNumber(int value) { switch (value) { - case 0: return ACTION_UNSPECIFIED; - case 1: return CREATE; - case 2: return UPDATE; - case 3: return DELETE; - default: return null; + case 0: + return ACTION_UNSPECIFIED; + case 1: + return CREATE; + case 2: + return UPDATE; + case 3: + return DELETE; + 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< - Action> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Action findValueByNumber(int number) { - return Action.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 Action findValueByNumber(int number) { + return Action.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Revision.getDescriptor().getEnumTypes().get(0); } private static final Action[] VALUES = values(); - public static Action valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Action 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; @@ -223,15 +259,18 @@ private Action(int value) { } /** + * + * *
    * Possible states of a revision.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Revision.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -240,6 +279,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The revision is being applied.
      * 
@@ -248,6 +289,8 @@ public enum State */ APPLYING(1), /** + * + * *
      * The revision was applied successfully.
      * 
@@ -256,6 +299,8 @@ public enum State */ APPLIED(2), /** + * + * *
      * The revision could not be applied successfully.
      * 
@@ -267,6 +312,8 @@ public enum State ; /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -275,6 +322,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The revision is being applied.
      * 
@@ -283,6 +332,8 @@ public enum State */ public static final int APPLYING_VALUE = 1; /** + * + * *
      * The revision was applied successfully.
      * 
@@ -291,6 +342,8 @@ public enum State */ public static final int APPLIED_VALUE = 2; /** + * + * *
      * The revision could not be applied successfully.
      * 
@@ -299,7 +352,6 @@ public enum State */ public static final int FAILED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -324,50 +376,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return APPLYING; - case 2: return APPLIED; - case 3: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return APPLYING; + case 2: + return APPLIED; + case 3: + return FAILED; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.Revision.getDescriptor().getEnumTypes().get(1); } 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; @@ -385,15 +438,18 @@ private State(int value) { } /** + * + * *
    * Possible errors if Revision could not be created or updated successfully.
    * 
* * Protobuf enum {@code google.cloud.config.v1.Revision.ErrorCode} */ - public enum ErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No error code was specified.
      * 
@@ -402,6 +458,8 @@ public enum ErrorCode */ ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * Cloud Build failed due to a permission issue.
      * 
@@ -410,6 +468,8 @@ public enum ErrorCode */ CLOUD_BUILD_PERMISSION_DENIED(1), /** + * + * *
      * Cloud Build job associated with creating or updating a deployment could
      * not be started.
@@ -419,6 +479,8 @@ public enum ErrorCode
      */
     APPLY_BUILD_API_FAILED(4),
     /**
+     *
+     *
      * 
      * Cloud Build job associated with creating or updating a deployment was
      * started but failed.
@@ -428,6 +490,8 @@ public enum ErrorCode
      */
     APPLY_BUILD_RUN_FAILED(5),
     /**
+     *
+     *
      * 
      * quota validation failed for one or more resources in terraform
      * configuration files.
@@ -440,6 +504,8 @@ public enum ErrorCode
     ;
 
     /**
+     *
+     *
      * 
      * No error code was specified.
      * 
@@ -448,6 +514,8 @@ public enum ErrorCode */ public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud Build failed due to a permission issue.
      * 
@@ -456,6 +524,8 @@ public enum ErrorCode */ public static final int CLOUD_BUILD_PERMISSION_DENIED_VALUE = 1; /** + * + * *
      * Cloud Build job associated with creating or updating a deployment could
      * not be started.
@@ -465,6 +535,8 @@ public enum ErrorCode
      */
     public static final int APPLY_BUILD_API_FAILED_VALUE = 4;
     /**
+     *
+     *
      * 
      * Cloud Build job associated with creating or updating a deployment was
      * started but failed.
@@ -474,6 +546,8 @@ public enum ErrorCode
      */
     public static final int APPLY_BUILD_RUN_FAILED_VALUE = 5;
     /**
+     *
+     *
      * 
      * quota validation failed for one or more resources in terraform
      * configuration files.
@@ -483,7 +557,6 @@ public enum ErrorCode
      */
     public static final int QUOTA_VALIDATION_FAILED_VALUE = 7;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -508,51 +581,53 @@ public static ErrorCode valueOf(int value) {
      */
     public static ErrorCode forNumber(int value) {
       switch (value) {
-        case 0: return ERROR_CODE_UNSPECIFIED;
-        case 1: return CLOUD_BUILD_PERMISSION_DENIED;
-        case 4: return APPLY_BUILD_API_FAILED;
-        case 5: return APPLY_BUILD_RUN_FAILED;
-        case 7: return QUOTA_VALIDATION_FAILED;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return ERROR_CODE_UNSPECIFIED;
+        case 1:
+          return CLOUD_BUILD_PERMISSION_DENIED;
+        case 4:
+          return APPLY_BUILD_API_FAILED;
+        case 5:
+          return APPLY_BUILD_RUN_FAILED;
+        case 7:
+          return QUOTA_VALIDATION_FAILED;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ErrorCode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ErrorCode findValueByNumber(int number) {
-              return ErrorCode.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 ErrorCode findValueByNumber(int number) {
+            return ErrorCode.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.config.v1.Revision.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final ErrorCode[] VALUES = values();
 
-    public static ErrorCode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ErrorCode 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;
@@ -571,14 +646,18 @@ private ErrorCode(int value) {
 
   private int bitField0_;
   private int blueprintCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object blueprint_;
+
   public enum BlueprintCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TERRAFORM_BLUEPRINT(6),
     BLUEPRINT_NOT_SET(0);
     private final int value;
+
     private BlueprintCase(int value) {
       this.value = value;
     }
@@ -594,30 +673,37 @@ public static BlueprintCase valueOf(int value) {
 
     public static BlueprintCase forNumber(int value) {
       switch (value) {
-        case 6: return TERRAFORM_BLUEPRINT;
-        case 0: return BLUEPRINT_NOT_SET;
-        default: return null;
+        case 6:
+          return TERRAFORM_BLUEPRINT;
+        case 0:
+          return BLUEPRINT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public BlueprintCase
-  getBlueprintCase() {
-    return BlueprintCase.forNumber(
-        blueprintCase_);
+  public BlueprintCase getBlueprintCase() {
+    return BlueprintCase.forNumber(blueprintCase_);
   }
 
   public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * Output only. A blueprint described using Terraform's HashiCorp
    * Configuration Language as a root module.
    * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the terraformBlueprint field is set. */ @java.lang.Override @@ -625,41 +711,53 @@ public boolean hasTerraformBlueprint() { return blueprintCase_ == 6; } /** + * + * *
    * Output only. A blueprint described using Terraform's HashiCorp
    * Configuration Language as a root module.
    * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The terraformBlueprint. */ @java.lang.Override public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { if (blueprintCase_ == 6) { - return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; + return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; } return com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } /** + * + * *
    * Output only. A blueprint described using Terraform's HashiCorp
    * Configuration Language as a root module.
    * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder() { if (blueprintCase_ == 6) { - return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; + return (com.google.cloud.config.v1.TerraformBlueprint) blueprint_; } return com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Revision name. Format:
    * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -667,6 +765,7 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -675,14 +774,15 @@ 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; } } /** + * + * *
    * Revision name. Format:
    * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -690,16 +790,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @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 { @@ -710,11 +809,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time when the revision was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -722,11 +825,15 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. Time when the revision was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -734,11 +841,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time when the revision was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -748,11 +858,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time when the revision was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -760,11 +874,15 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. Time when the revision was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -772,11 +890,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time when the revision was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -786,63 +907,94 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ACTION_FIELD_NUMBER = 4; private int action_ = 0; /** + * + * *
    * Output only. The action which created this revision
    * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
    * Output only. The action which created this revision
    * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The action. */ - @java.lang.Override public com.google.cloud.config.v1.Revision.Action getAction() { - com.google.cloud.config.v1.Revision.Action result = com.google.cloud.config.v1.Revision.Action.forNumber(action_); + @java.lang.Override + public com.google.cloud.config.v1.Revision.Action getAction() { + com.google.cloud.config.v1.Revision.Action result = + com.google.cloud.config.v1.Revision.Action.forNumber(action_); return result == null ? com.google.cloud.config.v1.Revision.Action.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * Output only. Current state of the revision.
    * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.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. Current state of the revision.
    * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.config.v1.Revision.State getState() { - com.google.cloud.config.v1.Revision.State result = com.google.cloud.config.v1.Revision.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.config.v1.Revision.State getState() { + com.google.cloud.config.v1.Revision.State result = + com.google.cloud.config.v1.Revision.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Revision.State.UNRECOGNIZED : result; } public static final int APPLY_RESULTS_FIELD_NUMBER = 7; private com.google.cloud.config.v1.ApplyResults applyResults_; /** + * + * *
    * Output only. Outputs and artifacts from applying a deployment.
    * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the applyResults field is set. */ @java.lang.Override @@ -850,38 +1002,55 @@ public boolean hasApplyResults() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Output only. Outputs and artifacts from applying a deployment.
    * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applyResults. */ @java.lang.Override public com.google.cloud.config.v1.ApplyResults getApplyResults() { - return applyResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } /** + * + * *
    * Output only. Outputs and artifacts from applying a deployment.
    * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder() { - return applyResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } public static final int STATE_DETAIL_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object stateDetail_ = ""; /** + * + * *
    * Output only. Additional info regarding the current state.
    * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDetail. */ @java.lang.Override @@ -890,29 +1059,29 @@ public java.lang.String getStateDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDetail_ = s; return s; } } /** + * + * *
    * Output only. Additional info regarding the current state.
    * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDetailBytes() { + public com.google.protobuf.ByteString getStateDetailBytes() { java.lang.Object ref = stateDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDetail_ = b; return b; } else { @@ -923,38 +1092,55 @@ public java.lang.String getStateDetail() { public static final int ERROR_CODE_FIELD_NUMBER = 9; private int errorCode_ = 0; /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ - @java.lang.Override public com.google.cloud.config.v1.Revision.ErrorCode getErrorCode() { - com.google.cloud.config.v1.Revision.ErrorCode result = com.google.cloud.config.v1.Revision.ErrorCode.forNumber(errorCode_); + @java.lang.Override + public com.google.cloud.config.v1.Revision.ErrorCode getErrorCode() { + com.google.cloud.config.v1.Revision.ErrorCode result = + com.google.cloud.config.v1.Revision.ErrorCode.forNumber(errorCode_); return result == null ? com.google.cloud.config.v1.Revision.ErrorCode.UNRECOGNIZED : result; } public static final int BUILD_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object build_ = ""; /** + * + * *
    * Output only. Cloud Build instance UUID associated with this revision.
    * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ @java.lang.Override @@ -963,29 +1149,29 @@ public java.lang.String getBuild() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; } } /** + * + * *
    * Output only. Cloud Build instance UUID associated with this revision.
    * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ @java.lang.Override - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -994,15 +1180,19 @@ public java.lang.String getBuild() { } public static final int LOGS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object logs_ = ""; /** + * + * *
    * Output only. Location of Revision operation logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ @java.lang.Override @@ -1011,30 +1201,30 @@ public java.lang.String getLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; } } /** + * + * *
    * Output only. Location of Revision operation logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -1043,86 +1233,110 @@ public java.lang.String getLogs() { } public static final int TF_ERRORS_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private java.util.List tfErrors_; /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getTfErrorsList() { return tfErrors_; } /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTfErrorsOrBuilderList() { return tfErrors_; } /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTfErrorsCount() { return tfErrors_.size(); } /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { return tfErrors_.get(index); } /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index) { + public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index) { return tfErrors_.get(index); } public static final int ERROR_LOGS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object errorLogs_ = ""; /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ @java.lang.Override @@ -1131,30 +1345,30 @@ public java.lang.String getErrorLogs() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorLogs_ = s; return s; } } /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorLogsBytes() { + public com.google.protobuf.ByteString getErrorLogsBytes() { java.lang.Object ref = errorLogs_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorLogs_ = b; return b; } else { @@ -1163,16 +1377,22 @@ public java.lang.String getErrorLogs() { } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object serviceAccount_ = ""; /** + * + * *
    * Output only. User-specified Service Account (SA) to be used as credential
    * to manage resources. Format:
    * `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ @java.lang.Override @@ -1181,31 +1401,33 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Output only. User-specified Service Account (SA) to be used as credential
    * to manage resources. Format:
    * `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1216,6 +1438,8 @@ public java.lang.String getServiceAccount() { public static final int IMPORT_EXISTING_RESOURCES_FIELD_NUMBER = 15; private boolean importExistingResources_ = false; /** + * + * *
    * Output only. By default, Infra Manager will return a failure when
    * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -1227,6 +1451,7 @@ public java.lang.String getServiceAccount() {
    * 
* * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The importExistingResources. */ @java.lang.Override @@ -1235,9 +1460,12 @@ public boolean getImportExistingResources() { } public static final int WORKER_POOL_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object workerPool_ = ""; /** + * + * *
    * Output only. The user-specified Cloud Build worker pool resource in which
    * the Cloud Build job will execute. Format:
@@ -1246,7 +1474,10 @@ public boolean getImportExistingResources() {
    * used.
    * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ @java.lang.Override @@ -1255,14 +1486,15 @@ public java.lang.String getWorkerPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerPool_ = s; return s; } } /** + * + * *
    * Output only. The user-specified Cloud Build worker pool resource in which
    * the Cloud Build job will execute. Format:
@@ -1271,17 +1503,18 @@ public java.lang.String getWorkerPool() {
    * used.
    * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workerPool_ = b; return b; } else { @@ -1290,15 +1523,19 @@ public java.lang.String getWorkerPool() { } public static final int TF_VERSION_CONSTRAINT_FIELD_NUMBER = 18; + @SuppressWarnings("serial") private volatile java.lang.Object tfVersionConstraint_ = ""; /** + * + * *
    * Output only. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersionConstraint. */ @java.lang.Override @@ -1307,30 +1544,30 @@ public java.lang.String getTfVersionConstraint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersionConstraint_ = s; return s; } } /** + * + * *
    * Output only. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersionConstraint. */ @java.lang.Override - public com.google.protobuf.ByteString - getTfVersionConstraintBytes() { + public com.google.protobuf.ByteString getTfVersionConstraintBytes() { java.lang.Object ref = tfVersionConstraint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersionConstraint_ = b; return b; } else { @@ -1339,15 +1576,19 @@ public java.lang.String getTfVersionConstraint() { } public static final int TF_VERSION_FIELD_NUMBER = 19; + @SuppressWarnings("serial") private volatile java.lang.Object tfVersion_ = ""; /** + * + * *
    * Output only. The version of Terraform used to create the Revision.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersion. */ @java.lang.Override @@ -1356,30 +1597,30 @@ public java.lang.String getTfVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersion_ = s; return s; } } /** + * + * *
    * Output only. The version of Terraform used to create the Revision.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getTfVersionBytes() { + public com.google.protobuf.ByteString getTfVersionBytes() { java.lang.Object ref = tfVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersion_ = b; return b; } else { @@ -1388,9 +1629,12 @@ public java.lang.String getTfVersion() { } public static final int QUOTA_VALIDATION_RESULTS_FIELD_NUMBER = 29; + @SuppressWarnings("serial") private volatile java.lang.Object quotaValidationResults_ = ""; /** + * + * *
    * Output only. Cloud Storage path containing quota validation results. This
    * field is set when a user sets Deployment.quota_validation field to ENABLED
@@ -1398,6 +1642,7 @@ public java.lang.String getTfVersion() {
    * 
* * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The quotaValidationResults. */ @java.lang.Override @@ -1406,14 +1651,15 @@ public java.lang.String getQuotaValidationResults() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quotaValidationResults_ = s; return s; } } /** + * + * *
    * Output only. Cloud Storage path containing quota validation results. This
    * field is set when a user sets Deployment.quota_validation field to ENABLED
@@ -1421,16 +1667,15 @@ public java.lang.String getQuotaValidationResults() {
    * 
* * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for quotaValidationResults. */ @java.lang.Override - public com.google.protobuf.ByteString - getQuotaValidationResultsBytes() { + public com.google.protobuf.ByteString getQuotaValidationResultsBytes() { java.lang.Object ref = quotaValidationResults_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); quotaValidationResults_ = b; return b; } else { @@ -1441,34 +1686,48 @@ public java.lang.String getQuotaValidationResults() { public static final int QUOTA_VALIDATION_FIELD_NUMBER = 20; private int quotaValidation_ = 0; /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for quotaValidation. */ - @java.lang.Override public int getQuotaValidationValue() { + @java.lang.Override + public int getQuotaValidationValue() { return quotaValidation_; } /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The quotaValidation. */ - @java.lang.Override public com.google.cloud.config.v1.QuotaValidation getQuotaValidation() { - com.google.cloud.config.v1.QuotaValidation result = com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); + @java.lang.Override + public com.google.cloud.config.v1.QuotaValidation getQuotaValidation() { + com.google.cloud.config.v1.QuotaValidation result = + com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); return result == null ? com.google.cloud.config.v1.QuotaValidation.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1480,8 +1739,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_); } @@ -1506,7 +1764,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDetail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, stateDetail_); } - if (errorCode_ != com.google.cloud.config.v1.Revision.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + if (errorCode_ + != com.google.cloud.config.v1.Revision.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(9, errorCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { @@ -1536,7 +1795,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tfVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, tfVersion_); } - if (quotaValidation_ != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { + if (quotaValidation_ + != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { output.writeEnum(20, quotaValidation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quotaValidationResults_)) { @@ -1555,35 +1815,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (action_ != com.google.cloud.config.v1.Revision.Action.ACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, action_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, action_); } if (state_ != com.google.cloud.config.v1.Revision.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (blueprintCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.config.v1.TerraformBlueprint) blueprint_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.config.v1.TerraformBlueprint) blueprint_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getApplyResults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplyResults()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDetail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, stateDetail_); } - if (errorCode_ != com.google.cloud.config.v1.Revision.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, errorCode_); + if (errorCode_ + != com.google.cloud.config.v1.Revision.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, errorCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(build_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, build_); @@ -1592,8 +1848,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, logs_); } for (int i = 0; i < tfErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, tfErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, tfErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorLogs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, errorLogs_); @@ -1602,8 +1857,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, serviceAccount_); } if (importExistingResources_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, importExistingResources_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, importExistingResources_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, workerPool_); @@ -1614,9 +1868,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tfVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, tfVersion_); } - if (quotaValidation_ != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, quotaValidation_); + if (quotaValidation_ + != com.google.cloud.config.v1.QuotaValidation.QUOTA_VALIDATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, quotaValidation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quotaValidationResults_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, quotaValidationResults_); @@ -1629,61 +1883,45 @@ 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.config.v1.Revision)) { return super.equals(obj); } com.google.cloud.config.v1.Revision other = (com.google.cloud.config.v1.Revision) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (action_ != other.action_) return false; if (state_ != other.state_) return false; if (hasApplyResults() != other.hasApplyResults()) return false; if (hasApplyResults()) { - if (!getApplyResults() - .equals(other.getApplyResults())) return false; + if (!getApplyResults().equals(other.getApplyResults())) return false; } - if (!getStateDetail() - .equals(other.getStateDetail())) return false; + if (!getStateDetail().equals(other.getStateDetail())) return false; if (errorCode_ != other.errorCode_) return false; - if (!getBuild() - .equals(other.getBuild())) return false; - if (!getLogs() - .equals(other.getLogs())) return false; - if (!getTfErrorsList() - .equals(other.getTfErrorsList())) return false; - if (!getErrorLogs() - .equals(other.getErrorLogs())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (getImportExistingResources() - != other.getImportExistingResources()) return false; - if (!getWorkerPool() - .equals(other.getWorkerPool())) return false; - if (!getTfVersionConstraint() - .equals(other.getTfVersionConstraint())) return false; - if (!getTfVersion() - .equals(other.getTfVersion())) return false; - if (!getQuotaValidationResults() - .equals(other.getQuotaValidationResults())) return false; + if (!getBuild().equals(other.getBuild())) return false; + if (!getLogs().equals(other.getLogs())) return false; + if (!getTfErrorsList().equals(other.getTfErrorsList())) return false; + if (!getErrorLogs().equals(other.getErrorLogs())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (getImportExistingResources() != other.getImportExistingResources()) return false; + if (!getWorkerPool().equals(other.getWorkerPool())) return false; + if (!getTfVersionConstraint().equals(other.getTfVersionConstraint())) return false; + if (!getTfVersion().equals(other.getTfVersion())) return false; + if (!getQuotaValidationResults().equals(other.getQuotaValidationResults())) return false; if (quotaValidation_ != other.quotaValidation_) return false; if (!getBlueprintCase().equals(other.getBlueprintCase())) return false; switch (blueprintCase_) { case 6: - if (!getTerraformBlueprint() - .equals(other.getTerraformBlueprint())) return false; + if (!getTerraformBlueprint().equals(other.getTerraformBlueprint())) return false; break; case 0: default: @@ -1734,8 +1972,7 @@ public int hashCode() { hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getServiceAccount().hashCode(); hash = (37 * hash) + IMPORT_EXISTING_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getImportExistingResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImportExistingResources()); hash = (37 * hash) + WORKER_POOL_FIELD_NUMBER; hash = (53 * hash) + getWorkerPool().hashCode(); hash = (37 * hash) + TF_VERSION_CONSTRAINT_FIELD_NUMBER; @@ -1759,99 +1996,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.Revision parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.Revision parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Revision 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.config.v1.Revision parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.Revision parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Revision parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.Revision parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Revision 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.config.v1.Revision 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.config.v1.Revision 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.config.v1.Revision parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.Revision 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.config.v1.Revision 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.config.v1.Revision 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.config.v1.Revision 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; } /** + * + * *
    * A child resource of a Deployment generated by a 'CreateDeployment' or
    * 'UpdateDeployment' call. Each Revision contains metadata pertaining to a
@@ -1860,21 +2101,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.Revision}
    */
-  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.config.v1.Revision)
       com.google.cloud.config.v1.RevisionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Revision_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Revision_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Revision_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Revision_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.Revision.class, com.google.cloud.config.v1.Revision.Builder.class);
+              com.google.cloud.config.v1.Revision.class,
+              com.google.cloud.config.v1.Revision.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.Revision.newBuilder()
@@ -1882,20 +2125,20 @@ 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) {
         getCreateTimeFieldBuilder();
         getUpdateTimeFieldBuilder();
         getApplyResultsFieldBuilder();
         getTfErrorsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1946,9 +2189,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Revision_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_Revision_descriptor;
     }
 
     @java.lang.Override
@@ -1969,7 +2212,9 @@ public com.google.cloud.config.v1.Revision build() {
     public com.google.cloud.config.v1.Revision buildPartial() {
       com.google.cloud.config.v1.Revision result = new com.google.cloud.config.v1.Revision(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1994,15 +2239,11 @@ private void buildPartial0(com.google.cloud.config.v1.Revision result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
@@ -2012,9 +2253,8 @@ private void buildPartial0(com.google.cloud.config.v1.Revision result) {
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.applyResults_ = applyResultsBuilder_ == null
-            ? applyResults_
-            : applyResultsBuilder_.build();
+        result.applyResults_ =
+            applyResultsBuilder_ == null ? applyResults_ : applyResultsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
@@ -2059,8 +2299,7 @@ private void buildPartial0(com.google.cloud.config.v1.Revision result) {
     private void buildPartialOneofs(com.google.cloud.config.v1.Revision result) {
       result.blueprintCase_ = blueprintCase_;
       result.blueprint_ = this.blueprint_;
-      if (blueprintCase_ == 6 &&
-          terraformBlueprintBuilder_ != null) {
+      if (blueprintCase_ == 6 && terraformBlueprintBuilder_ != null) {
         result.blueprint_ = terraformBlueprintBuilder_.build();
       }
     }
@@ -2069,38 +2308,39 @@ private void buildPartialOneofs(com.google.cloud.config.v1.Revision result) {
     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.config.v1.Revision) {
-        return mergeFrom((com.google.cloud.config.v1.Revision)other);
+        return mergeFrom((com.google.cloud.config.v1.Revision) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2165,9 +2405,10 @@ public Builder mergeFrom(com.google.cloud.config.v1.Revision other) {
             tfErrorsBuilder_ = null;
             tfErrors_ = other.tfErrors_;
             bitField0_ = (bitField0_ & ~0x00000800);
-            tfErrorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTfErrorsFieldBuilder() : null;
+            tfErrorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTfErrorsFieldBuilder()
+                    : null;
           } else {
             tfErrorsBuilder_.addAllMessages(other.tfErrors_);
           }
@@ -2210,13 +2451,15 @@ public Builder mergeFrom(com.google.cloud.config.v1.Revision other) {
         setQuotaValidationValue(other.getQuotaValidationValue());
       }
       switch (other.getBlueprintCase()) {
-        case TERRAFORM_BLUEPRINT: {
-          mergeTerraformBlueprint(other.getTerraformBlueprint());
-          break;
-        }
-        case BLUEPRINT_NOT_SET: {
-          break;
-        }
+        case TERRAFORM_BLUEPRINT:
+          {
+            mergeTerraformBlueprint(other.getTerraformBlueprint());
+            break;
+          }
+        case BLUEPRINT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2244,128 +2487,141 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 32: {
-              action_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 32
-            case 40: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getTerraformBlueprintFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              blueprintCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getApplyResultsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              stateDetail_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 72: {
-              errorCode_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              build_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              logs_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            case 98: {
-              com.google.cloud.config.v1.TerraformError m =
-                  input.readMessage(
-                      com.google.cloud.config.v1.TerraformError.parser(),
-                      extensionRegistry);
-              if (tfErrorsBuilder_ == null) {
-                ensureTfErrorsIsMutable();
-                tfErrors_.add(m);
-              } else {
-                tfErrorsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 98
-            case 106: {
-              errorLogs_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 106
-            case 114: {
-              serviceAccount_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 114
-            case 120: {
-              importExistingResources_ = input.readBool();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 120
-            case 138: {
-              workerPool_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 138
-            case 146: {
-              tfVersionConstraint_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 146
-            case 154: {
-              tfVersion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 154
-            case 160: {
-              quotaValidation_ = input.readEnum();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 160
-            case 234: {
-              quotaValidationResults_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 234
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 32:
+              {
+                action_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 32
+            case 40:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(
+                    getTerraformBlueprintFieldBuilder().getBuilder(), extensionRegistry);
+                blueprintCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getApplyResultsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                stateDetail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 72:
+              {
+                errorCode_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                build_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                logs_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            case 98:
+              {
+                com.google.cloud.config.v1.TerraformError m =
+                    input.readMessage(
+                        com.google.cloud.config.v1.TerraformError.parser(), extensionRegistry);
+                if (tfErrorsBuilder_ == null) {
+                  ensureTfErrorsIsMutable();
+                  tfErrors_.add(m);
+                } else {
+                  tfErrorsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 98
+            case 106:
+              {
+                errorLogs_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 106
+            case 114:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 114
+            case 120:
+              {
+                importExistingResources_ = input.readBool();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 120
+            case 138:
+              {
+                workerPool_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 138
+            case 146:
+              {
+                tfVersionConstraint_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 146
+            case 154:
+              {
+                tfVersion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 154
+            case 160:
+              {
+                quotaValidation_ = input.readEnum();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 160
+            case 234:
+              {
+                quotaValidationResults_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 234
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2375,12 +2631,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int blueprintCase_ = 0;
     private java.lang.Object blueprint_;
-    public BlueprintCase
-        getBlueprintCase() {
-      return BlueprintCase.forNumber(
-          blueprintCase_);
+
+    public BlueprintCase getBlueprintCase() {
+      return BlueprintCase.forNumber(blueprintCase_);
     }
 
     public Builder clearBlueprint() {
@@ -2393,14 +2649,22 @@ public Builder clearBlueprint() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder> terraformBlueprintBuilder_;
+            com.google.cloud.config.v1.TerraformBlueprint,
+            com.google.cloud.config.v1.TerraformBlueprint.Builder,
+            com.google.cloud.config.v1.TerraformBlueprintOrBuilder>
+        terraformBlueprintBuilder_;
     /**
+     *
+     *
      * 
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the terraformBlueprint field is set. */ @java.lang.Override @@ -2408,12 +2672,17 @@ public boolean hasTerraformBlueprint() { return blueprintCase_ == 6; } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The terraformBlueprint. */ @java.lang.Override @@ -2431,12 +2700,16 @@ public com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint() { } } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTerraformBlueprint(com.google.cloud.config.v1.TerraformBlueprint value) { if (terraformBlueprintBuilder_ == null) { @@ -2452,12 +2725,16 @@ public Builder setTerraformBlueprint(com.google.cloud.config.v1.TerraformBluepri return this; } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTerraformBlueprint( com.google.cloud.config.v1.TerraformBlueprint.Builder builderForValue) { @@ -2471,19 +2748,26 @@ public Builder setTerraformBlueprint( return this; } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTerraformBlueprint(com.google.cloud.config.v1.TerraformBlueprint value) { if (terraformBlueprintBuilder_ == null) { - if (blueprintCase_ == 6 && - blueprint_ != com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) { - blueprint_ = com.google.cloud.config.v1.TerraformBlueprint.newBuilder((com.google.cloud.config.v1.TerraformBlueprint) blueprint_) - .mergeFrom(value).buildPartial(); + if (blueprintCase_ == 6 + && blueprint_ != com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) { + blueprint_ = + com.google.cloud.config.v1.TerraformBlueprint.newBuilder( + (com.google.cloud.config.v1.TerraformBlueprint) blueprint_) + .mergeFrom(value) + .buildPartial(); } else { blueprint_ = value; } @@ -2499,12 +2783,16 @@ public Builder mergeTerraformBlueprint(com.google.cloud.config.v1.TerraformBluep return this; } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTerraformBlueprint() { if (terraformBlueprintBuilder_ == null) { @@ -2523,23 +2811,31 @@ public Builder clearTerraformBlueprint() { return this; } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformBlueprint.Builder getTerraformBlueprintBuilder() { return getTerraformBlueprintFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder() { @@ -2553,22 +2849,31 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr } } /** + * + * *
      * Output only. A blueprint described using Terraform's HashiCorp
      * Configuration Language as a root module.
      * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder> + com.google.cloud.config.v1.TerraformBlueprint, + com.google.cloud.config.v1.TerraformBlueprint.Builder, + com.google.cloud.config.v1.TerraformBlueprintOrBuilder> getTerraformBlueprintFieldBuilder() { if (terraformBlueprintBuilder_ == null) { if (!(blueprintCase_ == 6)) { blueprint_ = com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance(); } - terraformBlueprintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.TerraformBlueprint, com.google.cloud.config.v1.TerraformBlueprint.Builder, com.google.cloud.config.v1.TerraformBlueprintOrBuilder>( + terraformBlueprintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.TerraformBlueprint, + com.google.cloud.config.v1.TerraformBlueprint.Builder, + com.google.cloud.config.v1.TerraformBlueprintOrBuilder>( (com.google.cloud.config.v1.TerraformBlueprint) blueprint_, getParentForChildren(), isClean()); @@ -2581,6 +2886,8 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr private java.lang.Object name_ = ""; /** + * + * *
      * Revision name. Format:
      * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -2588,13 +2895,13 @@ public com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBluepr
      * 
* * string name = 1; + * * @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; @@ -2603,6 +2910,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Revision name. Format:
      * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -2610,15 +2919,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @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 { @@ -2626,6 +2934,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Revision name. Format:
      * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -2633,18 +2943,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Revision name. Format:
      * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -2652,6 +2966,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2661,6 +2976,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Revision name. Format:
      * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -2668,12 +2985,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -2683,39 +3002,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2731,14 +3069,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2749,17 +3090,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2774,11 +3119,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2791,11 +3140,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2803,36 +3156,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Time when the revision was created.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2840,39 +3205,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2888,14 +3272,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2906,17 +3293,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2931,11 +3322,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2948,11 +3343,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -2960,36 +3359,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Time when the revision was last modified.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2997,22 +3408,33 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int action_ = 0; /** + * + * *
      * Output only. The action which created this revision
      * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
      * Output only. The action which created this revision
      * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ @@ -3023,24 +3445,35 @@ public Builder setActionValue(int value) { return this; } /** + * + * *
      * Output only. The action which created this revision
      * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The action. */ @java.lang.Override public com.google.cloud.config.v1.Revision.Action getAction() { - com.google.cloud.config.v1.Revision.Action result = com.google.cloud.config.v1.Revision.Action.forNumber(action_); + com.google.cloud.config.v1.Revision.Action result = + com.google.cloud.config.v1.Revision.Action.forNumber(action_); return result == null ? com.google.cloud.config.v1.Revision.Action.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The action which created this revision
      * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The action to set. * @return This builder for chaining. */ @@ -3054,11 +3487,16 @@ public Builder setAction(com.google.cloud.config.v1.Revision.Action value) { return this; } /** + * + * *
      * Output only. The action which created this revision
      * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearAction() { @@ -3070,22 +3508,33 @@ public Builder clearAction() { private int state_ = 0; /** + * + * *
      * Output only. Current state of the revision.
      * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.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. Current state of the revision.
      * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3096,24 +3545,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the revision.
      * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.config.v1.Revision.State getState() { - com.google.cloud.config.v1.Revision.State result = com.google.cloud.config.v1.Revision.State.forNumber(state_); + com.google.cloud.config.v1.Revision.State result = + com.google.cloud.config.v1.Revision.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.Revision.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Current state of the revision.
      * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3127,11 +3587,16 @@ public Builder setState(com.google.cloud.config.v1.Revision.State value) { return this; } /** + * + * *
      * Output only. Current state of the revision.
      * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3143,39 +3608,58 @@ public Builder clearState() { private com.google.cloud.config.v1.ApplyResults applyResults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder> applyResultsBuilder_; + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder> + applyResultsBuilder_; /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the applyResults field is set. */ public boolean hasApplyResults() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applyResults. */ public com.google.cloud.config.v1.ApplyResults getApplyResults() { if (applyResultsBuilder_ == null) { - return applyResults_ == null ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } else { return applyResultsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setApplyResults(com.google.cloud.config.v1.ApplyResults value) { if (applyResultsBuilder_ == null) { @@ -3191,11 +3675,15 @@ public Builder setApplyResults(com.google.cloud.config.v1.ApplyResults value) { return this; } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setApplyResults( com.google.cloud.config.v1.ApplyResults.Builder builderForValue) { @@ -3209,17 +3697,21 @@ public Builder setApplyResults( return this; } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeApplyResults(com.google.cloud.config.v1.ApplyResults value) { if (applyResultsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - applyResults_ != null && - applyResults_ != com.google.cloud.config.v1.ApplyResults.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && applyResults_ != null + && applyResults_ != com.google.cloud.config.v1.ApplyResults.getDefaultInstance()) { getApplyResultsBuilder().mergeFrom(value); } else { applyResults_ = value; @@ -3234,11 +3726,15 @@ public Builder mergeApplyResults(com.google.cloud.config.v1.ApplyResults value) return this; } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearApplyResults() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3251,11 +3747,15 @@ public Builder clearApplyResults() { return this; } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ApplyResults.Builder getApplyResultsBuilder() { bitField0_ |= 0x00000040; @@ -3263,36 +3763,48 @@ public com.google.cloud.config.v1.ApplyResults.Builder getApplyResultsBuilder() return getApplyResultsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder() { if (applyResultsBuilder_ != null) { return applyResultsBuilder_.getMessageOrBuilder(); } else { - return applyResults_ == null ? - com.google.cloud.config.v1.ApplyResults.getDefaultInstance() : applyResults_; + return applyResults_ == null + ? com.google.cloud.config.v1.ApplyResults.getDefaultInstance() + : applyResults_; } } /** + * + * *
      * Output only. Outputs and artifacts from applying a deployment.
      * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder> + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder> getApplyResultsFieldBuilder() { if (applyResultsBuilder_ == null) { - applyResultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.ApplyResults, com.google.cloud.config.v1.ApplyResults.Builder, com.google.cloud.config.v1.ApplyResultsOrBuilder>( - getApplyResults(), - getParentForChildren(), - isClean()); + applyResultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.ApplyResults, + com.google.cloud.config.v1.ApplyResults.Builder, + com.google.cloud.config.v1.ApplyResultsOrBuilder>( + getApplyResults(), getParentForChildren(), isClean()); applyResults_ = null; } return applyResultsBuilder_; @@ -3300,18 +3812,20 @@ public com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder private java.lang.Object stateDetail_ = ""; /** + * + * *
      * Output only. Additional info regarding the current state.
      * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDetail. */ public java.lang.String getStateDetail() { java.lang.Object ref = stateDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDetail_ = s; return s; @@ -3320,20 +3834,21 @@ public java.lang.String getStateDetail() { } } /** + * + * *
      * Output only. Additional info regarding the current state.
      * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDetail. */ - public com.google.protobuf.ByteString - getStateDetailBytes() { + public com.google.protobuf.ByteString getStateDetailBytes() { java.lang.Object ref = stateDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDetail_ = b; return b; } else { @@ -3341,28 +3856,35 @@ public java.lang.String getStateDetail() { } } /** + * + * *
      * Output only. Additional info regarding the current state.
      * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateDetail to set. * @return This builder for chaining. */ - public Builder setStateDetail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } stateDetail_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. Additional info regarding the current state.
      * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateDetail() { @@ -3372,17 +3894,21 @@ public Builder clearStateDetail() { return this; } /** + * + * *
      * Output only. Additional info regarding the current state.
      * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateDetail to set. * @return This builder for chaining. */ - public Builder setStateDetailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); stateDetail_ = value; bitField0_ |= 0x00000080; @@ -3392,22 +3918,33 @@ public Builder setStateDetailBytes( private int errorCode_ = 0; /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for errorCode to set. * @return This builder for chaining. */ @@ -3418,24 +3955,35 @@ public Builder setErrorCodeValue(int value) { return this; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ @java.lang.Override public com.google.cloud.config.v1.Revision.ErrorCode getErrorCode() { - com.google.cloud.config.v1.Revision.ErrorCode result = com.google.cloud.config.v1.Revision.ErrorCode.forNumber(errorCode_); + com.google.cloud.config.v1.Revision.ErrorCode result = + com.google.cloud.config.v1.Revision.ErrorCode.forNumber(errorCode_); return result == null ? com.google.cloud.config.v1.Revision.ErrorCode.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The errorCode to set. * @return This builder for chaining. */ @@ -3449,11 +3997,16 @@ public Builder setErrorCode(com.google.cloud.config.v1.Revision.ErrorCode value) return this; } /** + * + * *
      * Output only. Code describing any errors that may have occurred.
      * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearErrorCode() { @@ -3465,18 +4018,20 @@ public Builder clearErrorCode() { private java.lang.Object build_ = ""; /** + * + * *
      * Output only. Cloud Build instance UUID associated with this revision.
      * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; @@ -3485,20 +4040,21 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this revision.
      * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - public com.google.protobuf.ByteString - getBuildBytes() { + public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); build_ = b; return b; } else { @@ -3506,28 +4062,35 @@ public java.lang.String getBuild() { } } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this revision.
      * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The build to set. * @return This builder for chaining. */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } build_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this revision.
      * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBuild() { @@ -3537,17 +4100,21 @@ public Builder clearBuild() { return this; } /** + * + * *
      * Output only. Cloud Build instance UUID associated with this revision.
      * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for build to set. * @return This builder for chaining. */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000200; @@ -3557,19 +4124,21 @@ public Builder setBuildBytes( private java.lang.Object logs_ = ""; /** + * + * *
      * Output only. Location of Revision operation logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ public java.lang.String getLogs() { java.lang.Object ref = logs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logs_ = s; return s; @@ -3578,21 +4147,22 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of Revision operation logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - public com.google.protobuf.ByteString - getLogsBytes() { + public com.google.protobuf.ByteString getLogsBytes() { java.lang.Object ref = logs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logs_ = b; return b; } else { @@ -3600,30 +4170,37 @@ public java.lang.String getLogs() { } } /** + * + * *
      * Output only. Location of Revision operation logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The logs to set. * @return This builder for chaining. */ - public Builder setLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } logs_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. Location of Revision operation logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLogs() { @@ -3633,18 +4210,22 @@ public Builder clearLogs() { return this; } /** + * + * *
      * Output only. Location of Revision operation logs in
      * `gs://{bucket}/{object}` format.
      * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for logs to set. * @return This builder for chaining. */ - public Builder setLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); logs_ = value; bitField0_ |= 0x00000400; @@ -3653,25 +4234,33 @@ public Builder setLogsBytes( } private java.util.List tfErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTfErrorsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { tfErrors_ = new java.util.ArrayList(tfErrors_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder> tfErrorsBuilder_; + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder> + tfErrorsBuilder_; /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getTfErrorsList() { if (tfErrorsBuilder_ == null) { @@ -3681,13 +4270,17 @@ public java.util.List getTfErrorsList } } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTfErrorsCount() { if (tfErrorsBuilder_ == null) { @@ -3697,13 +4290,17 @@ public int getTfErrorsCount() { } } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { if (tfErrorsBuilder_ == null) { @@ -3713,16 +4310,19 @@ public com.google.cloud.config.v1.TerraformError getTfErrors(int index) { } } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTfErrors( - int index, com.google.cloud.config.v1.TerraformError value) { + public Builder setTfErrors(int index, com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3736,13 +4336,17 @@ public Builder setTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTfErrors( int index, com.google.cloud.config.v1.TerraformError.Builder builderForValue) { @@ -3756,13 +4360,17 @@ public Builder setTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTfErrors(com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { @@ -3778,16 +4386,19 @@ public Builder addTfErrors(com.google.cloud.config.v1.TerraformError value) { return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTfErrors( - int index, com.google.cloud.config.v1.TerraformError value) { + public Builder addTfErrors(int index, com.google.cloud.config.v1.TerraformError value) { if (tfErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3801,16 +4412,19 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addTfErrors( - com.google.cloud.config.v1.TerraformError.Builder builderForValue) { + public Builder addTfErrors(com.google.cloud.config.v1.TerraformError.Builder builderForValue) { if (tfErrorsBuilder_ == null) { ensureTfErrorsIsMutable(); tfErrors_.add(builderForValue.build()); @@ -3821,13 +4435,17 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTfErrors( int index, com.google.cloud.config.v1.TerraformError.Builder builderForValue) { @@ -3841,20 +4459,23 @@ public Builder addTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTfErrors( java.lang.Iterable values) { if (tfErrorsBuilder_ == null) { ensureTfErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tfErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tfErrors_); onChanged(); } else { tfErrorsBuilder_.addAllMessages(values); @@ -3862,13 +4483,17 @@ public Builder addAllTfErrors( return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTfErrors() { if (tfErrorsBuilder_ == null) { @@ -3881,13 +4506,17 @@ public Builder clearTfErrors() { return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTfErrors(int index) { if (tfErrorsBuilder_ == null) { @@ -3900,45 +4529,56 @@ public Builder removeTfErrors(int index) { return this; } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformError.Builder getTfErrorsBuilder( - int index) { + public com.google.cloud.config.v1.TerraformError.Builder getTfErrorsBuilder(int index) { return getTfErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index) { + public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index) { if (tfErrorsBuilder_ == null) { - return tfErrors_.get(index); } else { + return tfErrors_.get(index); + } else { return tfErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTfErrorsOrBuilderList() { + public java.util.List + getTfErrorsOrBuilderList() { if (tfErrorsBuilder_ != null) { return tfErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -3946,55 +4586,69 @@ public com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( } } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder() { - return getTfErrorsFieldBuilder().addBuilder( - com.google.cloud.config.v1.TerraformError.getDefaultInstance()); + return getTfErrorsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.TerraformError.getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder( - int index) { - return getTfErrorsFieldBuilder().addBuilder( - index, com.google.cloud.config.v1.TerraformError.getDefaultInstance()); + public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder(int index) { + return getTfErrorsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.TerraformError.getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered when creating or updating this deployment.
      * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
      * for full details.
      * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTfErrorsBuilderList() { + public java.util.List + getTfErrorsBuilderList() { return getTfErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder> + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder> getTfErrorsFieldBuilder() { if (tfErrorsBuilder_ == null) { - tfErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.config.v1.TerraformError, com.google.cloud.config.v1.TerraformError.Builder, com.google.cloud.config.v1.TerraformErrorOrBuilder>( - tfErrors_, - ((bitField0_ & 0x00000800) != 0), - getParentForChildren(), - isClean()); + tfErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.config.v1.TerraformError, + com.google.cloud.config.v1.TerraformError.Builder, + com.google.cloud.config.v1.TerraformErrorOrBuilder>( + tfErrors_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); tfErrors_ = null; } return tfErrorsBuilder_; @@ -4002,19 +4656,21 @@ public com.google.cloud.config.v1.TerraformError.Builder addTfErrorsBuilder( private java.lang.Object errorLogs_ = ""; /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ public java.lang.String getErrorLogs() { java.lang.Object ref = errorLogs_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorLogs_ = s; return s; @@ -4023,21 +4679,22 @@ public java.lang.String getErrorLogs() { } } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ - public com.google.protobuf.ByteString - getErrorLogsBytes() { + public com.google.protobuf.ByteString getErrorLogsBytes() { java.lang.Object ref = errorLogs_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorLogs_ = b; return b; } else { @@ -4045,30 +4702,37 @@ public java.lang.String getErrorLogs() { } } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The errorLogs to set. * @return This builder for chaining. */ - public Builder setErrorLogs( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorLogs_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearErrorLogs() { @@ -4078,18 +4742,22 @@ public Builder clearErrorLogs() { return this; } /** + * + * *
      * Output only. Location of Terraform error logs in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`.
      * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for errorLogs to set. * @return This builder for chaining. */ - public Builder setErrorLogsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorLogs_ = value; bitField0_ |= 0x00001000; @@ -4099,20 +4767,24 @@ public Builder setErrorLogsBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Output only. User-specified Service Account (SA) to be used as credential
      * to manage resources. Format:
      * `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -4121,22 +4793,25 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Output only. User-specified Service Account (SA) to be used as credential
      * to manage resources. Format:
      * `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -4144,32 +4819,43 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Output only. User-specified Service Account (SA) to be used as credential
      * to manage resources. Format:
      * `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceAccount_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. User-specified Service Account (SA) to be used as credential
      * to manage resources. Format:
      * `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearServiceAccount() { @@ -4179,19 +4865,25 @@ public Builder clearServiceAccount() { return this; } /** + * + * *
      * Output only. User-specified Service Account (SA) to be used as credential
      * to manage resources. Format:
      * `projects/{projectID}/serviceAccounts/{serviceAccount}`
      * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceAccount_ = value; bitField0_ |= 0x00002000; @@ -4199,8 +4891,10 @@ public Builder setServiceAccountBytes( return this; } - private boolean importExistingResources_ ; + private boolean importExistingResources_; /** + * + * *
      * Output only. By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -4211,7 +4905,9 @@ public Builder setServiceAccountBytes(
      * Not all resource types are supported, refer to documentation.
      * 
* - * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The importExistingResources. */ @java.lang.Override @@ -4219,6 +4915,8 @@ public boolean getImportExistingResources() { return importExistingResources_; } /** + * + * *
      * Output only. By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -4229,7 +4927,9 @@ public boolean getImportExistingResources() {
      * Not all resource types are supported, refer to documentation.
      * 
* - * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The importExistingResources to set. * @return This builder for chaining. */ @@ -4241,6 +4941,8 @@ public Builder setImportExistingResources(boolean value) { return this; } /** + * + * *
      * Output only. By default, Infra Manager will return a failure when
      * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -4251,7 +4953,9 @@ public Builder setImportExistingResources(boolean value) {
      * Not all resource types are supported, refer to documentation.
      * 
* - * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearImportExistingResources() { @@ -4263,6 +4967,8 @@ public Builder clearImportExistingResources() { private java.lang.Object workerPool_ = ""; /** + * + * *
      * Output only. The user-specified Cloud Build worker pool resource in which
      * the Cloud Build job will execute. Format:
@@ -4271,14 +4977,16 @@ public Builder clearImportExistingResources() {
      * used.
      * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ public java.lang.String getWorkerPool() { java.lang.Object ref = workerPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerPool_ = s; return s; @@ -4287,6 +4995,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Output only. The user-specified Cloud Build worker pool resource in which
      * the Cloud Build job will execute. Format:
@@ -4295,16 +5005,17 @@ public java.lang.String getWorkerPool() {
      * used.
      * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - public com.google.protobuf.ByteString - getWorkerPoolBytes() { + public com.google.protobuf.ByteString getWorkerPoolBytes() { java.lang.Object ref = workerPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workerPool_ = b; return b; } else { @@ -4312,6 +5023,8 @@ public java.lang.String getWorkerPool() { } } /** + * + * *
      * Output only. The user-specified Cloud Build worker pool resource in which
      * the Cloud Build job will execute. Format:
@@ -4320,19 +5033,25 @@ public java.lang.String getWorkerPool() {
      * used.
      * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPool( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workerPool_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * Output only. The user-specified Cloud Build worker pool resource in which
      * the Cloud Build job will execute. Format:
@@ -4341,7 +5060,10 @@ public Builder setWorkerPool(
      * used.
      * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkerPool() { @@ -4351,6 +5073,8 @@ public Builder clearWorkerPool() { return this; } /** + * + * *
      * Output only. The user-specified Cloud Build worker pool resource in which
      * the Cloud Build job will execute. Format:
@@ -4359,13 +5083,17 @@ public Builder clearWorkerPool() {
      * used.
      * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPoolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workerPool_ = value; bitField0_ |= 0x00008000; @@ -4375,19 +5103,21 @@ public Builder setWorkerPoolBytes( private java.lang.Object tfVersionConstraint_ = ""; /** + * + * *
      * Output only. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersionConstraint. */ public java.lang.String getTfVersionConstraint() { java.lang.Object ref = tfVersionConstraint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersionConstraint_ = s; return s; @@ -4396,21 +5126,22 @@ public java.lang.String getTfVersionConstraint() { } } /** + * + * *
      * Output only. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersionConstraint. */ - public com.google.protobuf.ByteString - getTfVersionConstraintBytes() { + public com.google.protobuf.ByteString getTfVersionConstraintBytes() { java.lang.Object ref = tfVersionConstraint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersionConstraint_ = b; return b; } else { @@ -4418,30 +5149,37 @@ public java.lang.String getTfVersionConstraint() { } } /** + * + * *
      * Output only. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tfVersionConstraint to set. * @return This builder for chaining. */ - public Builder setTfVersionConstraint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersionConstraint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tfVersionConstraint_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** + * + * *
      * Output only. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTfVersionConstraint() { @@ -4451,18 +5189,22 @@ public Builder clearTfVersionConstraint() { return this; } /** + * + * *
      * Output only. The user-specified Terraform version constraint.
      * Example: "=1.3.10".
      * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tfVersionConstraint to set. * @return This builder for chaining. */ - public Builder setTfVersionConstraintBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersionConstraintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tfVersionConstraint_ = value; bitField0_ |= 0x00010000; @@ -4472,19 +5214,21 @@ public Builder setTfVersionConstraintBytes( private java.lang.Object tfVersion_ = ""; /** + * + * *
      * Output only. The version of Terraform used to create the Revision.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersion. */ public java.lang.String getTfVersion() { java.lang.Object ref = tfVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tfVersion_ = s; return s; @@ -4493,21 +5237,22 @@ public java.lang.String getTfVersion() { } } /** + * + * *
      * Output only. The version of Terraform used to create the Revision.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersion. */ - public com.google.protobuf.ByteString - getTfVersionBytes() { + public com.google.protobuf.ByteString getTfVersionBytes() { java.lang.Object ref = tfVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tfVersion_ = b; return b; } else { @@ -4515,30 +5260,37 @@ public java.lang.String getTfVersion() { } } /** + * + * *
      * Output only. The version of Terraform used to create the Revision.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tfVersion to set. * @return This builder for chaining. */ - public Builder setTfVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tfVersion_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * *
      * Output only. The version of Terraform used to create the Revision.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTfVersion() { @@ -4548,18 +5300,22 @@ public Builder clearTfVersion() { return this; } /** + * + * *
      * Output only. The version of Terraform used to create the Revision.
      * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
      * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for tfVersion to set. * @return This builder for chaining. */ - public Builder setTfVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTfVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tfVersion_ = value; bitField0_ |= 0x00020000; @@ -4569,20 +5325,23 @@ public Builder setTfVersionBytes( private java.lang.Object quotaValidationResults_ = ""; /** + * + * *
      * Output only. Cloud Storage path containing quota validation results. This
      * field is set when a user sets Deployment.quota_validation field to ENABLED
      * or ENFORCED. Format: `gs://{bucket}/{object}`.
      * 
* - * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The quotaValidationResults. */ public java.lang.String getQuotaValidationResults() { java.lang.Object ref = quotaValidationResults_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quotaValidationResults_ = s; return s; @@ -4591,22 +5350,24 @@ public java.lang.String getQuotaValidationResults() { } } /** + * + * *
      * Output only. Cloud Storage path containing quota validation results. This
      * field is set when a user sets Deployment.quota_validation field to ENABLED
      * or ENFORCED. Format: `gs://{bucket}/{object}`.
      * 
* - * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for quotaValidationResults. */ - public com.google.protobuf.ByteString - getQuotaValidationResultsBytes() { + public com.google.protobuf.ByteString getQuotaValidationResultsBytes() { java.lang.Object ref = quotaValidationResults_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); quotaValidationResults_ = b; return b; } else { @@ -4614,32 +5375,41 @@ public java.lang.String getQuotaValidationResults() { } } /** + * + * *
      * Output only. Cloud Storage path containing quota validation results. This
      * field is set when a user sets Deployment.quota_validation field to ENABLED
      * or ENFORCED. Format: `gs://{bucket}/{object}`.
      * 
* - * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The quotaValidationResults to set. * @return This builder for chaining. */ - public Builder setQuotaValidationResults( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuotaValidationResults(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } quotaValidationResults_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Storage path containing quota validation results. This
      * field is set when a user sets Deployment.quota_validation field to ENABLED
      * or ENFORCED. Format: `gs://{bucket}/{object}`.
      * 
* - * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearQuotaValidationResults() { @@ -4649,19 +5419,24 @@ public Builder clearQuotaValidationResults() { return this; } /** + * + * *
      * Output only. Cloud Storage path containing quota validation results. This
      * field is set when a user sets Deployment.quota_validation field to ENABLED
      * or ENFORCED. Format: `gs://{bucket}/{object}`.
      * 
* - * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for quotaValidationResults to set. * @return This builder for chaining. */ - public Builder setQuotaValidationResultsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQuotaValidationResultsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); quotaValidationResults_ = value; bitField0_ |= 0x00040000; @@ -4671,26 +5446,37 @@ public Builder setQuotaValidationResultsBytes( private int quotaValidation_ = 0; /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for quotaValidation. */ - @java.lang.Override public int getQuotaValidationValue() { + @java.lang.Override + public int getQuotaValidationValue() { return quotaValidation_; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for quotaValidation to set. * @return This builder for chaining. */ @@ -4701,28 +5487,39 @@ public Builder setQuotaValidationValue(int value) { return this; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The quotaValidation. */ @java.lang.Override public com.google.cloud.config.v1.QuotaValidation getQuotaValidation() { - com.google.cloud.config.v1.QuotaValidation result = com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); + com.google.cloud.config.v1.QuotaValidation result = + com.google.cloud.config.v1.QuotaValidation.forNumber(quotaValidation_); return result == null ? com.google.cloud.config.v1.QuotaValidation.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The quotaValidation to set. * @return This builder for chaining. */ @@ -4736,13 +5533,18 @@ public Builder setQuotaValidation(com.google.cloud.config.v1.QuotaValidation val return this; } /** + * + * *
      * Optional. Input to control quota checks for resources in terraform
      * configuration files. There are limited resources on which quota validation
      * applies.
      * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearQuotaValidation() { @@ -4751,9 +5553,9 @@ public Builder clearQuotaValidation() { 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); } @@ -4763,12 +5565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.Revision) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.Revision) private static final com.google.cloud.config.v1.Revision DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.Revision(); } @@ -4777,27 +5579,27 @@ public static com.google.cloud.config.v1.Revision getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Revision parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Revision parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4812,6 +5614,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.Revision getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionName.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionName.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionName.java diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java similarity index 70% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java index eff07b067a42..d6af172449ea 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/RevisionOrBuilder.java @@ -1,44 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface RevisionOrBuilder extends +public interface RevisionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.Revision) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. A blueprint described using Terraform's HashiCorp
    * Configuration Language as a root module.
    * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the terraformBlueprint field is set. */ boolean hasTerraformBlueprint(); /** + * + * *
    * Output only. A blueprint described using Terraform's HashiCorp
    * Configuration Language as a root module.
    * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The terraformBlueprint. */ com.google.cloud.config.v1.TerraformBlueprint getTerraformBlueprint(); /** + * + * *
    * Output only. A blueprint described using Terraform's HashiCorp
    * Configuration Language as a root module.
    * 
* - * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder(); /** + * + * *
    * Revision name. Format:
    * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -46,10 +78,13 @@ public interface RevisionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Revision name. Format:
    * `projects/{project}/locations/{location}/deployments/{deployment}/
@@ -57,312 +92,427 @@ public interface RevisionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time when the revision was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Time when the revision was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Time when the revision was created.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Time when the revision was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when the revision was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when the revision was last modified.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The action which created this revision
    * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
    * Output only. The action which created this revision
    * 
* - * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The action. */ com.google.cloud.config.v1.Revision.Action getAction(); /** + * + * *
    * Output only. Current state of the revision.
    * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the revision.
    * 
* - * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.config.v1.Revision.State getState(); /** + * + * *
    * Output only. Outputs and artifacts from applying a deployment.
    * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the applyResults field is set. */ boolean hasApplyResults(); /** + * + * *
    * Output only. Outputs and artifacts from applying a deployment.
    * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applyResults. */ com.google.cloud.config.v1.ApplyResults getApplyResults(); /** + * + * *
    * Output only. Outputs and artifacts from applying a deployment.
    * 
* - * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.ApplyResultsOrBuilder getApplyResultsOrBuilder(); /** + * + * *
    * Output only. Additional info regarding the current state.
    * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateDetail. */ java.lang.String getStateDetail(); /** + * + * *
    * Output only. Additional info regarding the current state.
    * 
* * string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateDetail. */ - com.google.protobuf.ByteString - getStateDetailBytes(); + com.google.protobuf.ByteString getStateDetailBytes(); /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for errorCode. */ int getErrorCodeValue(); /** + * + * *
    * Output only. Code describing any errors that may have occurred.
    * 
* - * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorCode. */ com.google.cloud.config.v1.Revision.ErrorCode getErrorCode(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this revision.
    * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The build. */ java.lang.String getBuild(); /** + * + * *
    * Output only. Cloud Build instance UUID associated with this revision.
    * 
* * string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for build. */ - com.google.protobuf.ByteString - getBuildBytes(); + com.google.protobuf.ByteString getBuildBytes(); /** + * + * *
    * Output only. Location of Revision operation logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The logs. */ java.lang.String getLogs(); /** + * + * *
    * Output only. Location of Revision operation logs in
    * `gs://{bucket}/{object}` format.
    * 
* * string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for logs. */ - com.google.protobuf.ByteString - getLogsBytes(); + com.google.protobuf.ByteString getLogsBytes(); /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTfErrorsList(); + java.util.List getTfErrorsList(); /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.config.v1.TerraformError getTfErrors(int index); /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTfErrorsCount(); /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTfErrorsOrBuilderList(); /** + * + * *
    * Output only. Errors encountered when creating or updating this deployment.
    * Errors are truncated to 10 entries, see `delete_results` and `error_logs`
    * for full details.
    * 
* - * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder( - int index); + com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(int index); /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorLogs. */ java.lang.String getErrorLogs(); /** + * + * *
    * Output only. Location of Terraform error logs in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`.
    * 
* * string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorLogs. */ - com.google.protobuf.ByteString - getErrorLogsBytes(); + com.google.protobuf.ByteString getErrorLogsBytes(); /** + * + * *
    * Output only. User-specified Service Account (SA) to be used as credential
    * to manage resources. Format:
    * `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Output only. User-specified Service Account (SA) to be used as credential
    * to manage resources. Format:
    * `projects/{projectID}/serviceAccounts/{serviceAccount}`
    * 
* - * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Output only. By default, Infra Manager will return a failure when
    * Terraform encounters a 409 code (resource conflict error) during actuation.
@@ -374,11 +524,14 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The importExistingResources. */ boolean getImportExistingResources(); /** + * + * *
    * Output only. The user-specified Cloud Build worker pool resource in which
    * the Cloud Build job will execute. Format:
@@ -387,11 +540,16 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * used.
    * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The workerPool. */ java.lang.String getWorkerPool(); /** + * + * *
    * Output only. The user-specified Cloud Build worker pool resource in which
    * the Cloud Build job will execute. Format:
@@ -400,57 +558,71 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * used.
    * 
* - * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workerPool. */ - com.google.protobuf.ByteString - getWorkerPoolBytes(); + com.google.protobuf.ByteString getWorkerPoolBytes(); /** + * + * *
    * Output only. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersionConstraint. */ java.lang.String getTfVersionConstraint(); /** + * + * *
    * Output only. The user-specified Terraform version constraint.
    * Example: "=1.3.10".
    * 
* * string tf_version_constraint = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersionConstraint. */ - com.google.protobuf.ByteString - getTfVersionConstraintBytes(); + com.google.protobuf.ByteString getTfVersionConstraintBytes(); /** + * + * *
    * Output only. The version of Terraform used to create the Revision.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tfVersion. */ java.lang.String getTfVersion(); /** + * + * *
    * Output only. The version of Terraform used to create the Revision.
    * It is in the format of "Major.Minor.Patch", for example, "1.3.10".
    * 
* * string tf_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for tfVersion. */ - com.google.protobuf.ByteString - getTfVersionBytes(); + com.google.protobuf.ByteString getTfVersionBytes(); /** + * + * *
    * Output only. Cloud Storage path containing quota validation results. This
    * field is set when a user sets Deployment.quota_validation field to ENABLED
@@ -458,10 +630,13 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The quotaValidationResults. */ java.lang.String getQuotaValidationResults(); /** + * + * *
    * Output only. Cloud Storage path containing quota validation results. This
    * field is set when a user sets Deployment.quota_validation field to ENABLED
@@ -469,30 +644,40 @@ com.google.cloud.config.v1.TerraformErrorOrBuilder getTfErrorsOrBuilder(
    * 
* * string quota_validation_results = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for quotaValidationResults. */ - com.google.protobuf.ByteString - getQuotaValidationResultsBytes(); + com.google.protobuf.ByteString getQuotaValidationResultsBytes(); /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for quotaValidation. */ int getQuotaValidationValue(); /** + * + * *
    * Optional. Input to control quota checks for resources in terraform
    * configuration files. There are limited resources on which quota validation
    * applies.
    * 
* - * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.config.v1.QuotaValidation quota_validation = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The quotaValidation. */ com.google.cloud.config.v1.QuotaValidation getQuotaValidation(); diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java similarity index 66% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java index 6cffbd0346c9..99230aedee2b 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/Statefile.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,63 @@ package com.google.cloud.config.v1; /** + * + * *
  * Contains info about a Terraform state file
  * 
* * Protobuf type {@code google.cloud.config.v1.Statefile} */ -public final class Statefile extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Statefile extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.Statefile) StatefileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Statefile.newBuilder() to construct. private Statefile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Statefile() { signedUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Statefile(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Statefile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Statefile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.Statefile.class, com.google.cloud.config.v1.Statefile.Builder.class); + com.google.cloud.config.v1.Statefile.class, + com.google.cloud.config.v1.Statefile.Builder.class); } public static final int SIGNED_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object signedUri_ = ""; /** + * + * *
    * Output only. Cloud Storage signed URI used for downloading or uploading the
    * state file.
    * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The signedUri. */ @java.lang.Override @@ -62,30 +85,30 @@ public java.lang.String getSignedUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signedUri_ = s; return s; } } /** + * + * *
    * Output only. Cloud Storage signed URI used for downloading or uploading the
    * state file.
    * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for signedUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getSignedUriBytes() { + public com.google.protobuf.ByteString getSignedUriBytes() { java.lang.Object ref = signedUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); signedUri_ = b; return b; } else { @@ -94,6 +117,7 @@ public java.lang.String getSignedUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,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(signedUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedUri_); } @@ -130,15 +153,14 @@ 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.config.v1.Statefile)) { return super.equals(obj); } com.google.cloud.config.v1.Statefile other = (com.google.cloud.config.v1.Statefile) obj; - if (!getSignedUri() - .equals(other.getSignedUri())) return false; + if (!getSignedUri().equals(other.getSignedUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,132 +179,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.Statefile parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.Statefile parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Statefile 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.config.v1.Statefile parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.config.v1.Statefile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Statefile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.Statefile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.Statefile 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.config.v1.Statefile 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.config.v1.Statefile 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.config.v1.Statefile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.Statefile 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.config.v1.Statefile 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.config.v1.Statefile 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.config.v1.Statefile 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; } /** + * + * *
    * Contains info about a Terraform state file
    * 
* * Protobuf type {@code google.cloud.config.v1.Statefile} */ - 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.config.v1.Statefile) com.google.cloud.config.v1.StatefileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Statefile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Statefile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.Statefile.class, com.google.cloud.config.v1.Statefile.Builder.class); + com.google.cloud.config.v1.Statefile.class, + com.google.cloud.config.v1.Statefile.Builder.class); } // Construct using com.google.cloud.config.v1.Statefile.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_Statefile_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_Statefile_descriptor; } @java.lang.Override @@ -314,7 +339,9 @@ public com.google.cloud.config.v1.Statefile build() { @java.lang.Override public com.google.cloud.config.v1.Statefile buildPartial() { com.google.cloud.config.v1.Statefile result = new com.google.cloud.config.v1.Statefile(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +357,39 @@ private void buildPartial0(com.google.cloud.config.v1.Statefile result) { 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.config.v1.Statefile) { - return mergeFrom((com.google.cloud.config.v1.Statefile)other); + return mergeFrom((com.google.cloud.config.v1.Statefile) other); } else { super.mergeFrom(other); return this; @@ -401,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - signedUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + signedUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,23 +451,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object signedUri_ = ""; /** + * + * *
      * Output only. Cloud Storage signed URI used for downloading or uploading the
      * state file.
      * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The signedUri. */ public java.lang.String getSignedUri() { java.lang.Object ref = signedUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signedUri_ = s; return s; @@ -446,21 +479,22 @@ public java.lang.String getSignedUri() { } } /** + * + * *
      * Output only. Cloud Storage signed URI used for downloading or uploading the
      * state file.
      * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for signedUri. */ - public com.google.protobuf.ByteString - getSignedUriBytes() { + public com.google.protobuf.ByteString getSignedUriBytes() { java.lang.Object ref = signedUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); signedUri_ = b; return b; } else { @@ -468,30 +502,37 @@ public java.lang.String getSignedUri() { } } /** + * + * *
      * Output only. Cloud Storage signed URI used for downloading or uploading the
      * state file.
      * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The signedUri to set. * @return This builder for chaining. */ - public Builder setSignedUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSignedUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } signedUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Cloud Storage signed URI used for downloading or uploading the
      * state file.
      * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSignedUri() { @@ -501,27 +542,31 @@ public Builder clearSignedUri() { return this; } /** + * + * *
      * Output only. Cloud Storage signed URI used for downloading or uploading the
      * state file.
      * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for signedUri to set. * @return This builder for chaining. */ - public Builder setSignedUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSignedUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); signedUri_ = value; bitField0_ |= 0x00000001; 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); } @@ -531,12 +576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.Statefile) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.Statefile) private static final com.google.cloud.config.v1.Statefile DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.Statefile(); } @@ -545,27 +590,27 @@ public static com.google.cloud.config.v1.Statefile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Statefile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Statefile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,6 +625,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.Statefile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java similarity index 54% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java index 4fa8edd450fe..83d049b8b8e6 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/StatefileOrBuilder.java @@ -1,32 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface StatefileOrBuilder extends +public interface StatefileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.Statefile) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Cloud Storage signed URI used for downloading or uploading the
    * state file.
    * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The signedUri. */ java.lang.String getSignedUri(); /** + * + * *
    * Output only. Cloud Storage signed URI used for downloading or uploading the
    * state file.
    * 
* * string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for signedUri. */ - com.google.protobuf.ByteString - getSignedUriBytes(); + com.google.protobuf.ByteString getSignedUriBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java index 48f39b01589a..38c470413c3d 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * TerraformBlueprint describes the source of a Terraform root module which
  * describes the resources and configs to be deployed.
@@ -12,28 +29,27 @@
  *
  * Protobuf type {@code google.cloud.config.v1.TerraformBlueprint}
  */
-public final class TerraformBlueprint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TerraformBlueprint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.TerraformBlueprint)
     TerraformBlueprintOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TerraformBlueprint.newBuilder() to construct.
   private TerraformBlueprint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TerraformBlueprint() {
-  }
+
+  private TerraformBlueprint() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TerraformBlueprint();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -44,28 +60,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 4:
         return internalGetInputValues();
       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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.TerraformBlueprint.class, com.google.cloud.config.v1.TerraformBlueprint.Builder.class);
+            com.google.cloud.config.v1.TerraformBlueprint.class,
+            com.google.cloud.config.v1.TerraformBlueprint.Builder.class);
   }
 
   private int sourceCase_ = 0;
+
   @SuppressWarnings("serial")
   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 {
     GCS_SOURCE(1),
     GIT_SOURCE(2),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -81,25 +103,30 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 1: return GCS_SOURCE;
-        case 2: return GIT_SOURCE;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 1:
+          return GCS_SOURCE;
+        case 2:
+          return GIT_SOURCE;
+        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 GCS_SOURCE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Required. URI of an object in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
@@ -109,12 +136,15 @@ public int getNumber() {
    * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the gcsSource field is set. */ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Required. URI of an object in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
@@ -124,6 +154,7 @@ public boolean hasGcsSource() {
    * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The gcsSource. */ public java.lang.String getGcsSource() { @@ -134,8 +165,7 @@ public java.lang.String getGcsSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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_ == 1) { source_ = s; @@ -144,6 +174,8 @@ public java.lang.String getGcsSource() { } } /** + * + * *
    * Required. URI of an object in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
@@ -153,18 +185,17 @@ public java.lang.String getGcsSource() {
    * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for gcsSource. */ - public com.google.protobuf.ByteString - getGcsSourceBytes() { + public com.google.protobuf.ByteString getGcsSourceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 1) { 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_ == 1) { source_ = b; } @@ -176,11 +207,16 @@ public java.lang.String getGcsSource() { public static final int GIT_SOURCE_FIELD_NUMBER = 2; /** + * + * *
    * Required. URI of a public Git repo.
    * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the gitSource field is set. */ @java.lang.Override @@ -188,62 +224,80 @@ public boolean hasGitSource() { return sourceCase_ == 2; } /** + * + * *
    * Required. URI of a public Git repo.
    * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The gitSource. */ @java.lang.Override public com.google.cloud.config.v1.GitSource getGitSource() { if (sourceCase_ == 2) { - return (com.google.cloud.config.v1.GitSource) source_; + return (com.google.cloud.config.v1.GitSource) source_; } return com.google.cloud.config.v1.GitSource.getDefaultInstance(); } /** + * + * *
    * Required. URI of a public Git repo.
    * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.config.v1.GitSourceOrBuilder getGitSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.config.v1.GitSource) source_; + return (com.google.cloud.config.v1.GitSource) source_; } return com.google.cloud.config.v1.GitSource.getDefaultInstance(); } public static final int INPUT_VALUES_FIELD_NUMBER = 4; + private static final class InputValuesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.config.v1.TerraformVariable> defaultEntry = + java.lang.String, com.google.cloud.config.v1.TerraformVariable> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.config.v1.TerraformVariable.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.config.v1.TerraformVariable.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.config.v1.TerraformVariable> inputValues_; - private com.google.protobuf.MapField - internalGetInputValues() { + java.lang.String, com.google.cloud.config.v1.TerraformVariable> + inputValues_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.config.v1.TerraformVariable> + internalGetInputValues() { if (inputValues_ == null) { - return com.google.protobuf.MapField.emptyMapField( - InputValuesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(InputValuesDefaultEntryHolder.defaultEntry); } return inputValues_; } + public int getInputValuesCount() { return internalGetInputValues().getMap().size(); } /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
@@ -251,20 +305,22 @@ public int getInputValuesCount() { * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public boolean containsInputValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInputValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInputValues().getMap().containsKey(key); } - /** - * Use {@link #getInputValuesMap()} instead. - */ + /** Use {@link #getInputValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInputValues() { + public java.util.Map + getInputValues() { return getInputValuesMap(); } /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
@@ -272,10 +328,13 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public java.util.Map getInputValuesMap() { + public java.util.Map + getInputValuesMap() { return internalGetInputValues().getMap(); } /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
@@ -283,17 +342,20 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public /* nullable */ -com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( + public /* nullable */ com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.TerraformVariable defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.cloud.config.v1.TerraformVariable defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetInputValues().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
@@ -301,9 +363,10 @@ com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetInputValues().getMap(); if (!map.containsKey(key)) { @@ -313,6 +376,7 @@ public com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,20 +388,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 (sourceCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } if (sourceCase_ == 2) { output.writeMessage(2, (com.google.cloud.config.v1.GitSource) source_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetInputValues(), - InputValuesDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetInputValues(), InputValuesDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -351,18 +410,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.config.v1.GitSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.config.v1.GitSource) source_); } - for (java.util.Map.Entry entry - : internalGetInputValues().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetInputValues().getMap().entrySet()) { com.google.protobuf.MapEntry - inputValues__ = InputValuesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, inputValues__); + inputValues__ = + InputValuesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, inputValues__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -372,24 +433,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.config.v1.TerraformBlueprint)) { return super.equals(obj); } - com.google.cloud.config.v1.TerraformBlueprint other = (com.google.cloud.config.v1.TerraformBlueprint) obj; + com.google.cloud.config.v1.TerraformBlueprint other = + (com.google.cloud.config.v1.TerraformBlueprint) obj; - if (!internalGetInputValues().equals( - other.internalGetInputValues())) return false; + if (!internalGetInputValues().equals(other.internalGetInputValues())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 2: - if (!getGitSource() - .equals(other.getGitSource())) return false; + if (!getGitSource().equals(other.getGitSource())) return false; break; case 0: default: @@ -426,99 +485,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.TerraformBlueprint parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.TerraformBlueprint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformBlueprint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.TerraformBlueprint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.TerraformBlueprint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint 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.config.v1.TerraformBlueprint 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; } /** + * + * *
    * TerraformBlueprint describes the source of a Terraform root module which
    * describes the resources and configs to be deployed.
@@ -526,13 +590,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.TerraformBlueprint}
    */
-  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.config.v1.TerraformBlueprint)
       com.google.cloud.config.v1.TerraformBlueprintOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -542,10 +606,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 4:
           return internalGetInputValues();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -553,28 +617,27 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 4:
           return internalGetMutableInputValues();
         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.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.TerraformBlueprint.class, com.google.cloud.config.v1.TerraformBlueprint.Builder.class);
+              com.google.cloud.config.v1.TerraformBlueprint.class,
+              com.google.cloud.config.v1.TerraformBlueprint.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.TerraformBlueprint.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -589,9 +652,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor;
     }
 
     @java.lang.Override
@@ -610,8 +673,11 @@ public com.google.cloud.config.v1.TerraformBlueprint build() {
 
     @java.lang.Override
     public com.google.cloud.config.v1.TerraformBlueprint buildPartial() {
-      com.google.cloud.config.v1.TerraformBlueprint result = new com.google.cloud.config.v1.TerraformBlueprint(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.config.v1.TerraformBlueprint result =
+          new com.google.cloud.config.v1.TerraformBlueprint(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -620,15 +686,15 @@ public com.google.cloud.config.v1.TerraformBlueprint buildPartial() {
     private void buildPartial0(com.google.cloud.config.v1.TerraformBlueprint result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.inputValues_ = internalGetInputValues().build(InputValuesDefaultEntryHolder.defaultEntry);
+        result.inputValues_ =
+            internalGetInputValues().build(InputValuesDefaultEntryHolder.defaultEntry);
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.config.v1.TerraformBlueprint result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 2 &&
-          gitSourceBuilder_ != null) {
+      if (sourceCase_ == 2 && gitSourceBuilder_ != null) {
         result.source_ = gitSourceBuilder_.build();
       }
     }
@@ -637,38 +703,39 @@ private void buildPartialOneofs(com.google.cloud.config.v1.TerraformBlueprint re
     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.config.v1.TerraformBlueprint) {
-        return mergeFrom((com.google.cloud.config.v1.TerraformBlueprint)other);
+        return mergeFrom((com.google.cloud.config.v1.TerraformBlueprint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -677,23 +744,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.cloud.config.v1.TerraformBlueprint other) {
       if (other == com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) return this;
-      internalGetMutableInputValues().mergeFrom(
-          other.internalGetInputValues());
+      internalGetMutableInputValues().mergeFrom(other.internalGetInputValues());
       bitField0_ |= 0x00000004;
       switch (other.getSourceCase()) {
-        case GCS_SOURCE: {
-          sourceCase_ = 1;
-          source_ = other.source_;
-          onChanged();
-          break;
-        }
-        case GIT_SOURCE: {
-          mergeGitSource(other.getGitSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case GCS_SOURCE:
+          {
+            sourceCase_ = 1;
+            source_ = other.source_;
+            onChanged();
+            break;
+          }
+        case GIT_SOURCE:
+          {
+            mergeGitSource(other.getGitSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -721,34 +790,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              sourceCase_ = 1;
-              source_ = s;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getGitSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 2;
-              break;
-            } // case 18
-            case 34: {
-              com.google.protobuf.MapEntry
-              inputValues__ = input.readMessage(
-                  InputValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableInputValues().ensureBuilderMap().put(
-                  inputValues__.getKey(), inputValues__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                sourceCase_ = 1;
+                source_ = s;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getGitSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 2;
+                break;
+              } // case 18
+            case 34:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.config.v1.TerraformVariable>
+                    inputValues__ =
+                        input.readMessage(
+                            InputValuesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableInputValues()
+                    .ensureBuilderMap()
+                    .put(inputValues__.getKey(), inputValues__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -758,12 +833,12 @@ public Builder mergeFrom(
       } // finally
       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() {
@@ -776,6 +851,8 @@ public Builder clearSource() {
     private int bitField0_;
 
     /**
+     *
+     *
      * 
      * Required. URI of an object in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
@@ -785,6 +862,7 @@ public Builder clearSource() {
      * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -792,6 +870,8 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Required. URI of an object in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
@@ -801,6 +881,7 @@ public boolean hasGcsSource() {
      * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The gcsSource. */ @java.lang.Override @@ -810,8 +891,7 @@ public java.lang.String getGcsSource() { 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_ == 1) { source_ = s; @@ -822,6 +902,8 @@ public java.lang.String getGcsSource() { } } /** + * + * *
      * Required. URI of an object in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
@@ -831,19 +913,18 @@ public java.lang.String getGcsSource() {
      * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for gcsSource. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcsSourceBytes() { + public com.google.protobuf.ByteString getGcsSourceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 1) { 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_ == 1) { source_ = b; } @@ -853,6 +934,8 @@ public java.lang.String getGcsSource() { } } /** + * + * *
      * Required. URI of an object in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
@@ -862,18 +945,22 @@ public java.lang.String getGcsSource() {
      * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The gcsSource to set. * @return This builder for chaining. */ - public Builder setGcsSource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGcsSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceCase_ = 1; source_ = value; onChanged(); return this; } /** + * + * *
      * Required. URI of an object in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
@@ -883,6 +970,7 @@ public Builder setGcsSource(
      * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGcsSource() { @@ -894,6 +982,8 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Required. URI of an object in Google Cloud Storage.
      * Format: `gs://{bucket}/{object}`
@@ -903,12 +993,14 @@ public Builder clearGcsSource() {
      * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for gcsSource to set. * @return This builder for chaining. */ - public Builder setGcsSourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGcsSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceCase_ = 1; source_ = value; @@ -917,13 +1009,21 @@ public Builder setGcsSourceBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.GitSource, com.google.cloud.config.v1.GitSource.Builder, com.google.cloud.config.v1.GitSourceOrBuilder> gitSourceBuilder_; + com.google.cloud.config.v1.GitSource, + com.google.cloud.config.v1.GitSource.Builder, + com.google.cloud.config.v1.GitSourceOrBuilder> + gitSourceBuilder_; /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the gitSource field is set. */ @java.lang.Override @@ -931,11 +1031,16 @@ public boolean hasGitSource() { return sourceCase_ == 2; } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The gitSource. */ @java.lang.Override @@ -953,11 +1058,15 @@ public com.google.cloud.config.v1.GitSource getGitSource() { } } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGitSource(com.google.cloud.config.v1.GitSource value) { if (gitSourceBuilder_ == null) { @@ -973,14 +1082,17 @@ public Builder setGitSource(com.google.cloud.config.v1.GitSource value) { return this; } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setGitSource( - com.google.cloud.config.v1.GitSource.Builder builderForValue) { + public Builder setGitSource(com.google.cloud.config.v1.GitSource.Builder builderForValue) { if (gitSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -991,18 +1103,25 @@ public Builder setGitSource( return this; } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeGitSource(com.google.cloud.config.v1.GitSource value) { if (gitSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.cloud.config.v1.GitSource.getDefaultInstance()) { - source_ = com.google.cloud.config.v1.GitSource.newBuilder((com.google.cloud.config.v1.GitSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ != com.google.cloud.config.v1.GitSource.getDefaultInstance()) { + source_ = + com.google.cloud.config.v1.GitSource.newBuilder( + (com.google.cloud.config.v1.GitSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1018,11 +1137,15 @@ public Builder mergeGitSource(com.google.cloud.config.v1.GitSource value) { return this; } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGitSource() { if (gitSourceBuilder_ == null) { @@ -1041,21 +1164,29 @@ public Builder clearGitSource() { return this; } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.GitSource.Builder getGitSourceBuilder() { return getGitSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.config.v1.GitSourceOrBuilder getGitSourceOrBuilder() { @@ -1069,24 +1200,31 @@ public com.google.cloud.config.v1.GitSourceOrBuilder getGitSourceOrBuilder() { } } /** + * + * *
      * Required. URI of a public Git repo.
      * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.GitSource, com.google.cloud.config.v1.GitSource.Builder, com.google.cloud.config.v1.GitSourceOrBuilder> + com.google.cloud.config.v1.GitSource, + com.google.cloud.config.v1.GitSource.Builder, + com.google.cloud.config.v1.GitSourceOrBuilder> getGitSourceFieldBuilder() { if (gitSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.cloud.config.v1.GitSource.getDefaultInstance(); } - gitSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.GitSource, com.google.cloud.config.v1.GitSource.Builder, com.google.cloud.config.v1.GitSourceOrBuilder>( - (com.google.cloud.config.v1.GitSource) source_, - getParentForChildren(), - isClean()); + gitSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.GitSource, + com.google.cloud.config.v1.GitSource.Builder, + com.google.cloud.config.v1.GitSourceOrBuilder>( + (com.google.cloud.config.v1.GitSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; @@ -1094,30 +1232,54 @@ public com.google.cloud.config.v1.GitSourceOrBuilder getGitSourceOrBuilder() { return gitSourceBuilder_; } - private static final class InputValuesConverter implements com.google.protobuf.MapFieldBuilder.Converter { + private static final class InputValuesConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.config.v1.TerraformVariableOrBuilder, + com.google.cloud.config.v1.TerraformVariable> { @java.lang.Override - public com.google.cloud.config.v1.TerraformVariable build(com.google.cloud.config.v1.TerraformVariableOrBuilder val) { - if (val instanceof com.google.cloud.config.v1.TerraformVariable) { return (com.google.cloud.config.v1.TerraformVariable) val; } + public com.google.cloud.config.v1.TerraformVariable build( + com.google.cloud.config.v1.TerraformVariableOrBuilder val) { + if (val instanceof com.google.cloud.config.v1.TerraformVariable) { + return (com.google.cloud.config.v1.TerraformVariable) val; + } return ((com.google.cloud.config.v1.TerraformVariable.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.TerraformVariable> + defaultEntry() { return InputValuesDefaultEntryHolder.defaultEntry; } }; + private static final InputValuesConverter inputValuesConverter = new InputValuesConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, com.google.cloud.config.v1.TerraformVariableOrBuilder, com.google.cloud.config.v1.TerraformVariable, com.google.cloud.config.v1.TerraformVariable.Builder> inputValues_; - private com.google.protobuf.MapFieldBuilder + java.lang.String, + com.google.cloud.config.v1.TerraformVariableOrBuilder, + com.google.cloud.config.v1.TerraformVariable, + com.google.cloud.config.v1.TerraformVariable.Builder> + inputValues_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.TerraformVariableOrBuilder, + com.google.cloud.config.v1.TerraformVariable, + com.google.cloud.config.v1.TerraformVariable.Builder> internalGetInputValues() { if (inputValues_ == null) { return new com.google.protobuf.MapFieldBuilder<>(inputValuesConverter); } return inputValues_; } - private com.google.protobuf.MapFieldBuilder + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.TerraformVariableOrBuilder, + com.google.cloud.config.v1.TerraformVariable, + com.google.cloud.config.v1.TerraformVariable.Builder> internalGetMutableInputValues() { if (inputValues_ == null) { inputValues_ = new com.google.protobuf.MapFieldBuilder<>(inputValuesConverter); @@ -1126,10 +1288,13 @@ public com.google.protobuf.MapEntry * Input variable values for the Terraform blueprint. *
@@ -1137,20 +1302,22 @@ public int getInputValuesCount() { * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public boolean containsInputValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInputValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInputValues().ensureBuilderMap().containsKey(key); } - /** - * Use {@link #getInputValuesMap()} instead. - */ + /** Use {@link #getInputValuesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInputValues() { + public java.util.Map + getInputValues() { return getInputValuesMap(); } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
@@ -1158,10 +1325,13 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public java.util.Map getInputValuesMap() { + public java.util.Map + getInputValuesMap() { return internalGetInputValues().getImmutableMap(); } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
@@ -1169,16 +1339,20 @@ public java.util.Mapmap<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ @java.lang.Override - public /* nullable */ -com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( + public /* nullable */ com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.TerraformVariable defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = internalGetMutableInputValues().ensureBuilderMap(); + com.google.cloud.config.v1.TerraformVariable defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableInputValues().ensureBuilderMap(); return map.containsKey(key) ? inputValuesConverter.build(map.get(key)) : defaultValue; } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
@@ -1188,35 +1362,39 @@ com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( @java.lang.Override public com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = internalGetMutableInputValues().ensureBuilderMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableInputValues().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return inputValuesConverter.build(map.get(key)); } + public Builder clearInputValues() { bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableInputValues().clear(); return this; } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
* * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ - public Builder removeInputValues( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableInputValues().ensureBuilderMap() - .remove(key); + public Builder removeInputValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableInputValues().ensureBuilderMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableInputValues() { @@ -1224,6 +1402,8 @@ public Builder removeInputValues( return internalGetMutableInputValues().ensureMessageMap(); } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
@@ -1231,16 +1411,20 @@ public Builder removeInputValues( * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ public Builder putInputValues( - java.lang.String key, - com.google.cloud.config.v1.TerraformVariable value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableInputValues().ensureBuilderMap() - .put(key, value); + java.lang.String key, com.google.cloud.config.v1.TerraformVariable value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableInputValues().ensureBuilderMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
@@ -1249,17 +1433,19 @@ public Builder putInputValues( */ public Builder putAllInputValues( java.util.Map values) { - for (java.util.Map.Entry e : values.entrySet()) { + for (java.util.Map.Entry e : + values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableInputValues().ensureBuilderMap() - .putAll(values); + internalGetMutableInputValues().ensureBuilderMap().putAll(values); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Input variable values for the Terraform blueprint.
      * 
@@ -1268,7 +1454,8 @@ public Builder putAllInputValues( */ public com.google.cloud.config.v1.TerraformVariable.Builder putInputValuesBuilderIfAbsent( java.lang.String key) { - java.util.Map builderMap = internalGetMutableInputValues().ensureBuilderMap(); + java.util.Map + builderMap = internalGetMutableInputValues().ensureBuilderMap(); com.google.cloud.config.v1.TerraformVariableOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.cloud.config.v1.TerraformVariable.newBuilder(); @@ -1280,9 +1467,9 @@ public com.google.cloud.config.v1.TerraformVariable.Builder putInputValuesBuilde } return (com.google.cloud.config.v1.TerraformVariable.Builder) entry; } + @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); } @@ -1292,12 +1479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.TerraformBlueprint) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.TerraformBlueprint) private static final com.google.cloud.config.v1.TerraformBlueprint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.TerraformBlueprint(); } @@ -1306,27 +1493,27 @@ public static com.google.cloud.config.v1.TerraformBlueprint getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerraformBlueprint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerraformBlueprint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1341,6 +1528,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.TerraformBlueprint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java similarity index 68% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java index 401618f0aa56..c8a9620a0b9c 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface TerraformBlueprintOrBuilder extends +public interface TerraformBlueprintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.TerraformBlueprint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. URI of an object in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
@@ -18,10 +36,13 @@ public interface TerraformBlueprintOrBuilder extends
    * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Required. URI of an object in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
@@ -31,10 +52,13 @@ public interface TerraformBlueprintOrBuilder extends
    * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The gcsSource. */ java.lang.String getGcsSource(); /** + * + * *
    * Required. URI of an object in Google Cloud Storage.
    * Format: `gs://{bucket}/{object}`
@@ -44,39 +68,55 @@ public interface TerraformBlueprintOrBuilder extends
    * 
* * string gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for gcsSource. */ - com.google.protobuf.ByteString - getGcsSourceBytes(); + com.google.protobuf.ByteString getGcsSourceBytes(); /** + * + * *
    * Required. URI of a public Git repo.
    * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the gitSource field is set. */ boolean hasGitSource(); /** + * + * *
    * Required. URI of a public Git repo.
    * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The gitSource. */ com.google.cloud.config.v1.GitSource getGitSource(); /** + * + * *
    * Required. URI of a public Git repo.
    * 
* - * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.config.v1.GitSourceOrBuilder getGitSourceOrBuilder(); /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
@@ -85,30 +125,31 @@ public interface TerraformBlueprintOrBuilder extends */ int getInputValuesCount(); /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
* * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ - boolean containsInputValues( - java.lang.String key); - /** - * Use {@link #getInputValuesMap()} instead. - */ + boolean containsInputValues(java.lang.String key); + /** Use {@link #getInputValuesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getInputValues(); + java.util.Map getInputValues(); /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
* * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ - java.util.Map - getInputValuesMap(); + java.util.Map getInputValuesMap(); /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
@@ -116,19 +157,20 @@ boolean containsInputValues( * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ /* nullable */ -com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( + com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.config.v1.TerraformVariable defaultValue); + com.google.cloud.config.v1.TerraformVariable defaultValue); /** + * + * *
    * Input variable values for the Terraform blueprint.
    * 
* * map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4; */ - com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow( - java.lang.String key); + com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow(java.lang.String key); com.google.cloud.config.v1.TerraformBlueprint.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java index 4a5f78b1edf3..a7a83ced7d21 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformError.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,21 +20,24 @@ package com.google.cloud.config.v1; /** + * + * *
  * Errors encountered during actuation using Terraform
  * 
* * Protobuf type {@code google.cloud.config.v1.TerraformError} */ -public final class TerraformError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TerraformError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.TerraformError) TerraformErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TerraformError.newBuilder() to construct. private TerraformError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TerraformError() { resourceAddress_ = ""; errorDescription_ = ""; @@ -27,35 +45,40 @@ private TerraformError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TerraformError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.TerraformError.class, com.google.cloud.config.v1.TerraformError.Builder.class); + com.google.cloud.config.v1.TerraformError.class, + com.google.cloud.config.v1.TerraformError.Builder.class); } private int bitField0_; public static final int RESOURCE_ADDRESS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object resourceAddress_ = ""; /** + * + * *
    * Address of the resource associated with the error,
    * e.g. `google_compute_network.vpc_network`.
    * 
* * string resource_address = 1; + * * @return The resourceAddress. */ @java.lang.Override @@ -64,30 +87,30 @@ public java.lang.String getResourceAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceAddress_ = s; return s; } } /** + * + * *
    * Address of the resource associated with the error,
    * e.g. `google_compute_network.vpc_network`.
    * 
* * string resource_address = 1; + * * @return The bytes for resourceAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceAddressBytes() { + public com.google.protobuf.ByteString getResourceAddressBytes() { java.lang.Object ref = resourceAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceAddress_ = b; return b; } else { @@ -98,6 +121,8 @@ public java.lang.String getResourceAddress() { public static final int HTTP_RESPONSE_CODE_FIELD_NUMBER = 2; private int httpResponseCode_ = 0; /** + * + * *
    * HTTP response code returned from Google Cloud Platform APIs when Terraform
    * fails to provision the resource. If unset or 0, no HTTP response code was
@@ -105,6 +130,7 @@ public java.lang.String getResourceAddress() {
    * 
* * int32 http_response_code = 2; + * * @return The httpResponseCode. */ @java.lang.Override @@ -113,14 +139,18 @@ public int getHttpResponseCode() { } public static final int ERROR_DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object errorDescription_ = ""; /** + * + * *
    * A human-readable error description.
    * 
* * string error_description = 3; + * * @return The errorDescription. */ @java.lang.Override @@ -129,29 +159,29 @@ public java.lang.String getErrorDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorDescription_ = s; return s; } } /** + * + * *
    * A human-readable error description.
    * 
* * string error_description = 3; + * * @return The bytes for errorDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorDescriptionBytes() { + public com.google.protobuf.ByteString getErrorDescriptionBytes() { java.lang.Object ref = errorDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorDescription_ = b; return b; } else { @@ -162,11 +192,14 @@ public java.lang.String getErrorDescription() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** + * + * *
    * Original error response from underlying Google API, if available.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ @java.lang.Override @@ -174,11 +207,14 @@ public boolean hasError() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Original error response from underlying Google API, if available.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ @java.lang.Override @@ -186,6 +222,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Original error response from underlying Google API, if available.
    * 
@@ -198,6 +236,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,8 +248,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(resourceAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceAddress_); } @@ -236,15 +274,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceAddress_); } if (httpResponseCode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, httpResponseCode_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, httpResponseCode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorDescription_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,23 +290,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.config.v1.TerraformError)) { return super.equals(obj); } - com.google.cloud.config.v1.TerraformError other = (com.google.cloud.config.v1.TerraformError) obj; - - if (!getResourceAddress() - .equals(other.getResourceAddress())) return false; - if (getHttpResponseCode() - != other.getHttpResponseCode()) return false; - if (!getErrorDescription() - .equals(other.getErrorDescription())) return false; + com.google.cloud.config.v1.TerraformError other = + (com.google.cloud.config.v1.TerraformError) obj; + + if (!getResourceAddress().equals(other.getResourceAddress())) return false; + if (getHttpResponseCode() != other.getHttpResponseCode()) return false; + if (!getErrorDescription().equals(other.getErrorDescription())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -298,120 +331,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.TerraformError parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.TerraformError parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformError 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.config.v1.TerraformError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.TerraformError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformError 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.config.v1.TerraformError 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.config.v1.TerraformError 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.config.v1.TerraformError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.TerraformError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.TerraformError 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.config.v1.TerraformError 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.config.v1.TerraformError 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.config.v1.TerraformError 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; } /** + * + * *
    * Errors encountered during actuation using Terraform
    * 
* * Protobuf type {@code google.cloud.config.v1.TerraformError} */ - 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.config.v1.TerraformError) com.google.cloud.config.v1.TerraformErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.TerraformError.class, com.google.cloud.config.v1.TerraformError.Builder.class); + com.google.cloud.config.v1.TerraformError.class, + com.google.cloud.config.v1.TerraformError.Builder.class); } // Construct using com.google.cloud.config.v1.TerraformError.newBuilder() @@ -419,17 +459,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) { getErrorFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformError_descriptor; } @java.lang.Override @@ -467,8 +507,11 @@ public com.google.cloud.config.v1.TerraformError build() { @java.lang.Override public com.google.cloud.config.v1.TerraformError buildPartial() { - com.google.cloud.config.v1.TerraformError result = new com.google.cloud.config.v1.TerraformError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.TerraformError result = + new com.google.cloud.config.v1.TerraformError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -486,9 +529,7 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformError result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { - result.error_ = errorBuilder_ == null - ? error_ - : errorBuilder_.build(); + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -498,38 +539,39 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformError result) { 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.config.v1.TerraformError) { - return mergeFrom((com.google.cloud.config.v1.TerraformError)other); + return mergeFrom((com.google.cloud.config.v1.TerraformError) other); } else { super.mergeFrom(other); return this; @@ -580,34 +622,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resourceAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - httpResponseCode_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - errorDescription_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resourceAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + httpResponseCode_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + errorDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,23 +662,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resourceAddress_ = ""; /** + * + * *
      * Address of the resource associated with the error,
      * e.g. `google_compute_network.vpc_network`.
      * 
* * string resource_address = 1; + * * @return The resourceAddress. */ public java.lang.String getResourceAddress() { java.lang.Object ref = resourceAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceAddress_ = s; return s; @@ -642,21 +690,22 @@ public java.lang.String getResourceAddress() { } } /** + * + * *
      * Address of the resource associated with the error,
      * e.g. `google_compute_network.vpc_network`.
      * 
* * string resource_address = 1; + * * @return The bytes for resourceAddress. */ - public com.google.protobuf.ByteString - getResourceAddressBytes() { + public com.google.protobuf.ByteString getResourceAddressBytes() { java.lang.Object ref = resourceAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceAddress_ = b; return b; } else { @@ -664,30 +713,37 @@ public java.lang.String getResourceAddress() { } } /** + * + * *
      * Address of the resource associated with the error,
      * e.g. `google_compute_network.vpc_network`.
      * 
* * string resource_address = 1; + * * @param value The resourceAddress to set. * @return This builder for chaining. */ - public Builder setResourceAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceAddress_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Address of the resource associated with the error,
      * e.g. `google_compute_network.vpc_network`.
      * 
* * string resource_address = 1; + * * @return This builder for chaining. */ public Builder clearResourceAddress() { @@ -697,18 +753,22 @@ public Builder clearResourceAddress() { return this; } /** + * + * *
      * Address of the resource associated with the error,
      * e.g. `google_compute_network.vpc_network`.
      * 
* * string resource_address = 1; + * * @param value The bytes for resourceAddress to set. * @return This builder for chaining. */ - public Builder setResourceAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceAddress_ = value; bitField0_ |= 0x00000001; @@ -716,8 +776,10 @@ public Builder setResourceAddressBytes( return this; } - private int httpResponseCode_ ; + private int httpResponseCode_; /** + * + * *
      * HTTP response code returned from Google Cloud Platform APIs when Terraform
      * fails to provision the resource. If unset or 0, no HTTP response code was
@@ -725,6 +787,7 @@ public Builder setResourceAddressBytes(
      * 
* * int32 http_response_code = 2; + * * @return The httpResponseCode. */ @java.lang.Override @@ -732,6 +795,8 @@ public int getHttpResponseCode() { return httpResponseCode_; } /** + * + * *
      * HTTP response code returned from Google Cloud Platform APIs when Terraform
      * fails to provision the resource. If unset or 0, no HTTP response code was
@@ -739,6 +804,7 @@ public int getHttpResponseCode() {
      * 
* * int32 http_response_code = 2; + * * @param value The httpResponseCode to set. * @return This builder for chaining. */ @@ -750,6 +816,8 @@ public Builder setHttpResponseCode(int value) { return this; } /** + * + * *
      * HTTP response code returned from Google Cloud Platform APIs when Terraform
      * fails to provision the resource. If unset or 0, no HTTP response code was
@@ -757,6 +825,7 @@ public Builder setHttpResponseCode(int value) {
      * 
* * int32 http_response_code = 2; + * * @return This builder for chaining. */ public Builder clearHttpResponseCode() { @@ -768,18 +837,20 @@ public Builder clearHttpResponseCode() { private java.lang.Object errorDescription_ = ""; /** + * + * *
      * A human-readable error description.
      * 
* * string error_description = 3; + * * @return The errorDescription. */ public java.lang.String getErrorDescription() { java.lang.Object ref = errorDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorDescription_ = s; return s; @@ -788,20 +859,21 @@ public java.lang.String getErrorDescription() { } } /** + * + * *
      * A human-readable error description.
      * 
* * string error_description = 3; + * * @return The bytes for errorDescription. */ - public com.google.protobuf.ByteString - getErrorDescriptionBytes() { + public com.google.protobuf.ByteString getErrorDescriptionBytes() { java.lang.Object ref = errorDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorDescription_ = b; return b; } else { @@ -809,28 +881,35 @@ public java.lang.String getErrorDescription() { } } /** + * + * *
      * A human-readable error description.
      * 
* * string error_description = 3; + * * @param value The errorDescription to set. * @return This builder for chaining. */ - public Builder setErrorDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorDescription_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A human-readable error description.
      * 
* * string error_description = 3; + * * @return This builder for chaining. */ public Builder clearErrorDescription() { @@ -840,17 +919,21 @@ public Builder clearErrorDescription() { return this; } /** + * + * *
      * A human-readable error description.
      * 
* * string error_description = 3; + * * @param value The bytes for errorDescription to set. * @return This builder for chaining. */ - public Builder setErrorDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorDescription_ = value; bitField0_ |= 0x00000004; @@ -860,24 +943,31 @@ public Builder setErrorDescriptionBytes( private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
* * .google.rpc.Status error = 4; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -888,6 +978,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
@@ -908,14 +1000,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
* * .google.rpc.Status error = 4; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); } else { @@ -926,6 +1019,8 @@ public Builder setError( return this; } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
@@ -934,9 +1029,9 @@ public Builder setError( */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - error_ != null && - error_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -951,6 +1046,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
@@ -968,6 +1065,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
@@ -980,6 +1079,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
@@ -990,11 +1091,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * Original error response from underlying Google API, if available.
      * 
@@ -1002,21 +1104,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } + @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); } @@ -1026,12 +1128,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.TerraformError) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.TerraformError) private static final com.google.cloud.config.v1.TerraformError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.TerraformError(); } @@ -1040,27 +1142,27 @@ public static com.google.cloud.config.v1.TerraformError getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerraformError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerraformError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,6 +1177,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.TerraformError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java similarity index 71% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java index 0c51a5505684..8fe80f3645f1 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformErrorOrBuilder.java @@ -1,36 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface TerraformErrorOrBuilder extends +public interface TerraformErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.TerraformError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Address of the resource associated with the error,
    * e.g. `google_compute_network.vpc_network`.
    * 
* * string resource_address = 1; + * * @return The resourceAddress. */ java.lang.String getResourceAddress(); /** + * + * *
    * Address of the resource associated with the error,
    * e.g. `google_compute_network.vpc_network`.
    * 
* * string resource_address = 1; + * * @return The bytes for resourceAddress. */ - com.google.protobuf.ByteString - getResourceAddressBytes(); + com.google.protobuf.ByteString getResourceAddressBytes(); /** + * + * *
    * HTTP response code returned from Google Cloud Platform APIs when Terraform
    * fails to provision the resource. If unset or 0, no HTTP response code was
@@ -38,49 +61,63 @@ public interface TerraformErrorOrBuilder extends
    * 
* * int32 http_response_code = 2; + * * @return The httpResponseCode. */ int getHttpResponseCode(); /** + * + * *
    * A human-readable error description.
    * 
* * string error_description = 3; + * * @return The errorDescription. */ java.lang.String getErrorDescription(); /** + * + * *
    * A human-readable error description.
    * 
* * string error_description = 3; + * * @return The bytes for errorDescription. */ - com.google.protobuf.ByteString - getErrorDescriptionBytes(); + com.google.protobuf.ByteString getErrorDescriptionBytes(); /** + * + * *
    * Original error response from underlying Google API, if available.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Original error response from underlying Google API, if available.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Original error response from underlying Google API, if available.
    * 
diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java similarity index 68% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java index ffc96c0e94e1..66295cc09a23 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutput.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,54 +20,60 @@ package com.google.cloud.config.v1; /** + * + * *
  * Describes a Terraform output.
  * 
* * Protobuf type {@code google.cloud.config.v1.TerraformOutput} */ -public final class TerraformOutput extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TerraformOutput extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.TerraformOutput) TerraformOutputOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TerraformOutput.newBuilder() to construct. private TerraformOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TerraformOutput() { - } + + private TerraformOutput() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TerraformOutput(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.TerraformOutput.class, com.google.cloud.config.v1.TerraformOutput.Builder.class); + com.google.cloud.config.v1.TerraformOutput.class, + com.google.cloud.config.v1.TerraformOutput.Builder.class); } private int bitField0_; public static final int SENSITIVE_FIELD_NUMBER = 1; private boolean sensitive_ = false; /** + * + * *
    * Identifies whether Terraform has set this output as a potential
    * sensitive value.
    * 
* * bool sensitive = 1; + * * @return The sensitive. */ @java.lang.Override @@ -63,11 +84,14 @@ public boolean getSensitive() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Value value_; /** + * + * *
    * Value of output.
    * 
* * .google.protobuf.Value value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -75,11 +99,14 @@ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Value of output.
    * 
* * .google.protobuf.Value value = 2; + * * @return The value. */ @java.lang.Override @@ -87,6 +114,8 @@ public com.google.protobuf.Value getValue() { return value_ == null ? com.google.protobuf.Value.getDefaultInstance() : value_; } /** + * + * *
    * Value of output.
    * 
@@ -99,6 +128,7 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +140,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 (sensitive_ != false) { output.writeBool(1, sensitive_); } @@ -128,12 +157,10 @@ public int getSerializedSize() { size = 0; if (sensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, sensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, sensitive_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,19 +170,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.config.v1.TerraformOutput)) { return super.equals(obj); } - com.google.cloud.config.v1.TerraformOutput other = (com.google.cloud.config.v1.TerraformOutput) obj; + com.google.cloud.config.v1.TerraformOutput other = + (com.google.cloud.config.v1.TerraformOutput) obj; - if (getSensitive() - != other.getSensitive()) return false; + if (getSensitive() != other.getSensitive()) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -169,8 +195,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSensitive()); if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); @@ -180,120 +205,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.TerraformOutput parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.TerraformOutput parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformOutput 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.config.v1.TerraformOutput parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformOutput parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.TerraformOutput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformOutput 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.config.v1.TerraformOutput 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.config.v1.TerraformOutput 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.config.v1.TerraformOutput parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.TerraformOutput parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.TerraformOutput 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.config.v1.TerraformOutput 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.config.v1.TerraformOutput 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.config.v1.TerraformOutput 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 Terraform output.
    * 
* * Protobuf type {@code google.cloud.config.v1.TerraformOutput} */ - 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.config.v1.TerraformOutput) com.google.cloud.config.v1.TerraformOutputOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformOutput_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformOutput_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.TerraformOutput.class, com.google.cloud.config.v1.TerraformOutput.Builder.class); + com.google.cloud.config.v1.TerraformOutput.class, + com.google.cloud.config.v1.TerraformOutput.Builder.class); } // Construct using com.google.cloud.config.v1.TerraformOutput.newBuilder() @@ -301,17 +333,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) { getValueFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformOutput_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformOutput_descriptor; } @java.lang.Override @@ -347,8 +379,11 @@ public com.google.cloud.config.v1.TerraformOutput build() { @java.lang.Override public com.google.cloud.config.v1.TerraformOutput buildPartial() { - com.google.cloud.config.v1.TerraformOutput result = new com.google.cloud.config.v1.TerraformOutput(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.TerraformOutput result = + new com.google.cloud.config.v1.TerraformOutput(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -360,9 +395,7 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformOutput result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null - ? value_ - : valueBuilder_.build(); + result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -372,38 +405,39 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformOutput result) { 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.config.v1.TerraformOutput) { - return mergeFrom((com.google.cloud.config.v1.TerraformOutput)other); + return mergeFrom((com.google.cloud.config.v1.TerraformOutput) other); } else { super.mergeFrom(other); return this; @@ -444,24 +478,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sensitive_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sensitive_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -471,16 +506,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean sensitive_ ; + private boolean sensitive_; /** + * + * *
      * Identifies whether Terraform has set this output as a potential
      * sensitive value.
      * 
* * bool sensitive = 1; + * * @return The sensitive. */ @java.lang.Override @@ -488,12 +527,15 @@ public boolean getSensitive() { return sensitive_; } /** + * + * *
      * Identifies whether Terraform has set this output as a potential
      * sensitive value.
      * 
* * bool sensitive = 1; + * * @param value The sensitive to set. * @return This builder for chaining. */ @@ -505,12 +547,15 @@ public Builder setSensitive(boolean value) { return this; } /** + * + * *
      * Identifies whether Terraform has set this output as a potential
      * sensitive value.
      * 
* * bool sensitive = 1; + * * @return This builder for chaining. */ public Builder clearSensitive() { @@ -522,24 +567,33 @@ public Builder clearSensitive() { private com.google.protobuf.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> valueBuilder_; + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> + valueBuilder_; /** + * + * *
      * Value of output.
      * 
* * .google.protobuf.Value value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Value of output.
      * 
* * .google.protobuf.Value value = 2; + * * @return The value. */ public com.google.protobuf.Value getValue() { @@ -550,6 +604,8 @@ public com.google.protobuf.Value getValue() { } } /** + * + * *
      * Value of output.
      * 
@@ -570,14 +626,15 @@ public Builder setValue(com.google.protobuf.Value value) { return this; } /** + * + * *
      * Value of output.
      * 
* * .google.protobuf.Value value = 2; */ - public Builder setValue( - com.google.protobuf.Value.Builder builderForValue) { + public Builder setValue(com.google.protobuf.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -588,6 +645,8 @@ public Builder setValue( return this; } /** + * + * *
      * Value of output.
      * 
@@ -596,9 +655,9 @@ public Builder setValue( */ public Builder mergeValue(com.google.protobuf.Value value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - value_ != null && - value_ != com.google.protobuf.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && value_ != null + && value_ != com.google.protobuf.Value.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -613,6 +672,8 @@ public Builder mergeValue(com.google.protobuf.Value value) { return this; } /** + * + * *
      * Value of output.
      * 
@@ -630,6 +691,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * Value of output.
      * 
@@ -642,6 +705,8 @@ public com.google.protobuf.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * Value of output.
      * 
@@ -652,11 +717,12 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.protobuf.Value.getDefaultInstance() : value_; + return value_ == null ? com.google.protobuf.Value.getDefaultInstance() : value_; } } /** + * + * *
      * Value of output.
      * 
@@ -664,21 +730,23 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() { * .google.protobuf.Value value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder>(getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @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); } @@ -688,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.TerraformOutput) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.TerraformOutput) private static final com.google.cloud.config.v1.TerraformOutput DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.TerraformOutput(); } @@ -702,27 +770,27 @@ public static com.google.cloud.config.v1.TerraformOutput getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerraformOutput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerraformOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -737,6 +805,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.TerraformOutput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java similarity index 60% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java index 63efde25d437..d4e2bf2acd7c 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformOutputOrBuilder.java @@ -1,43 +1,70 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface TerraformOutputOrBuilder extends +public interface TerraformOutputOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.TerraformOutput) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Identifies whether Terraform has set this output as a potential
    * sensitive value.
    * 
* * bool sensitive = 1; + * * @return The sensitive. */ boolean getSensitive(); /** + * + * *
    * Value of output.
    * 
* * .google.protobuf.Value value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * Value of output.
    * 
* * .google.protobuf.Value value = 2; + * * @return The value. */ com.google.protobuf.Value getValue(); /** + * + * *
    * Value of output.
    * 
diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java similarity index 67% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java index 1be4e8fcfa3d..beb4fc464734 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,53 +20,59 @@ package com.google.cloud.config.v1; /** + * + * *
  * A Terraform input variable.
  * 
* * Protobuf type {@code google.cloud.config.v1.TerraformVariable} */ -public final class TerraformVariable extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TerraformVariable extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.TerraformVariable) TerraformVariableOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TerraformVariable.newBuilder() to construct. private TerraformVariable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TerraformVariable() { - } + + private TerraformVariable() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TerraformVariable(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVariable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformVariable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.TerraformVariable.class, com.google.cloud.config.v1.TerraformVariable.Builder.class); + com.google.cloud.config.v1.TerraformVariable.class, + com.google.cloud.config.v1.TerraformVariable.Builder.class); } private int bitField0_; public static final int INPUT_VALUE_FIELD_NUMBER = 5; private com.google.protobuf.Value inputValue_; /** + * + * *
    * Input variable value.
    * 
* * .google.protobuf.Value input_value = 5; + * * @return Whether the inputValue field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasInputValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Input variable value.
    * 
* * .google.protobuf.Value input_value = 5; + * * @return The inputValue. */ @java.lang.Override @@ -71,6 +95,8 @@ public com.google.protobuf.Value getInputValue() { return inputValue_ == null ? com.google.protobuf.Value.getDefaultInstance() : inputValue_; } /** + * + * *
    * Input variable value.
    * 
@@ -83,6 +109,7 @@ public com.google.protobuf.ValueOrBuilder getInputValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,8 +121,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getInputValue()); } @@ -109,8 +135,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInputValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInputValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +145,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.config.v1.TerraformVariable)) { return super.equals(obj); } - com.google.cloud.config.v1.TerraformVariable other = (com.google.cloud.config.v1.TerraformVariable) obj; + com.google.cloud.config.v1.TerraformVariable other = + (com.google.cloud.config.v1.TerraformVariable) obj; if (hasInputValue() != other.hasInputValue()) return false; if (hasInputValue()) { - if (!getInputValue() - .equals(other.getInputValue())) return false; + if (!getInputValue().equals(other.getInputValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -152,120 +177,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.TerraformVariable parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.TerraformVariable parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformVariable 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.config.v1.TerraformVariable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformVariable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.TerraformVariable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformVariable 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.config.v1.TerraformVariable 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.config.v1.TerraformVariable 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.config.v1.TerraformVariable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.TerraformVariable parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.TerraformVariable 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.config.v1.TerraformVariable 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.config.v1.TerraformVariable 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.config.v1.TerraformVariable 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; } /** + * + * *
    * A Terraform input variable.
    * 
* * Protobuf type {@code google.cloud.config.v1.TerraformVariable} */ - 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.config.v1.TerraformVariable) com.google.cloud.config.v1.TerraformVariableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVariable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformVariable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.TerraformVariable.class, com.google.cloud.config.v1.TerraformVariable.Builder.class); + com.google.cloud.config.v1.TerraformVariable.class, + com.google.cloud.config.v1.TerraformVariable.Builder.class); } // Construct using com.google.cloud.config.v1.TerraformVariable.newBuilder() @@ -273,17 +305,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) { getInputValueFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVariable_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformVariable_descriptor; } @java.lang.Override @@ -318,8 +350,11 @@ public com.google.cloud.config.v1.TerraformVariable build() { @java.lang.Override public com.google.cloud.config.v1.TerraformVariable buildPartial() { - com.google.cloud.config.v1.TerraformVariable result = new com.google.cloud.config.v1.TerraformVariable(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.TerraformVariable result = + new com.google.cloud.config.v1.TerraformVariable(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,9 +363,7 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformVariable result) int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.inputValue_ = inputValueBuilder_ == null - ? inputValue_ - : inputValueBuilder_.build(); + result.inputValue_ = inputValueBuilder_ == null ? inputValue_ : inputValueBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -340,38 +373,39 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformVariable result) 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.config.v1.TerraformVariable) { - return mergeFrom((com.google.cloud.config.v1.TerraformVariable)other); + return mergeFrom((com.google.cloud.config.v1.TerraformVariable) other); } else { super.mergeFrom(other); return this; @@ -409,19 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 42: { - input.readMessage( - getInputValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 42: + { + input.readMessage(getInputValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -431,28 +465,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Value inputValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> inputValueBuilder_; + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> + inputValueBuilder_; /** + * + * *
      * Input variable value.
      * 
* * .google.protobuf.Value input_value = 5; + * * @return Whether the inputValue field is set. */ public boolean hasInputValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Input variable value.
      * 
* * .google.protobuf.Value input_value = 5; + * * @return The inputValue. */ public com.google.protobuf.Value getInputValue() { @@ -463,6 +507,8 @@ public com.google.protobuf.Value getInputValue() { } } /** + * + * *
      * Input variable value.
      * 
@@ -483,14 +529,15 @@ public Builder setInputValue(com.google.protobuf.Value value) { return this; } /** + * + * *
      * Input variable value.
      * 
* * .google.protobuf.Value input_value = 5; */ - public Builder setInputValue( - com.google.protobuf.Value.Builder builderForValue) { + public Builder setInputValue(com.google.protobuf.Value.Builder builderForValue) { if (inputValueBuilder_ == null) { inputValue_ = builderForValue.build(); } else { @@ -501,6 +548,8 @@ public Builder setInputValue( return this; } /** + * + * *
      * Input variable value.
      * 
@@ -509,9 +558,9 @@ public Builder setInputValue( */ public Builder mergeInputValue(com.google.protobuf.Value value) { if (inputValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - inputValue_ != null && - inputValue_ != com.google.protobuf.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && inputValue_ != null + && inputValue_ != com.google.protobuf.Value.getDefaultInstance()) { getInputValueBuilder().mergeFrom(value); } else { inputValue_ = value; @@ -526,6 +575,8 @@ public Builder mergeInputValue(com.google.protobuf.Value value) { return this; } /** + * + * *
      * Input variable value.
      * 
@@ -543,6 +594,8 @@ public Builder clearInputValue() { return this; } /** + * + * *
      * Input variable value.
      * 
@@ -555,6 +608,8 @@ public com.google.protobuf.Value.Builder getInputValueBuilder() { return getInputValueFieldBuilder().getBuilder(); } /** + * + * *
      * Input variable value.
      * 
@@ -565,11 +620,12 @@ public com.google.protobuf.ValueOrBuilder getInputValueOrBuilder() { if (inputValueBuilder_ != null) { return inputValueBuilder_.getMessageOrBuilder(); } else { - return inputValue_ == null ? - com.google.protobuf.Value.getDefaultInstance() : inputValue_; + return inputValue_ == null ? com.google.protobuf.Value.getDefaultInstance() : inputValue_; } } /** + * + * *
      * Input variable value.
      * 
@@ -577,21 +633,24 @@ public com.google.protobuf.ValueOrBuilder getInputValueOrBuilder() { * .google.protobuf.Value input_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> getInputValueFieldBuilder() { if (inputValueBuilder_ == null) { - inputValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder>( - getInputValue(), - getParentForChildren(), - isClean()); + inputValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder>( + getInputValue(), getParentForChildren(), isClean()); inputValue_ = null; } return inputValueBuilder_; } + @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,12 +660,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.TerraformVariable) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.TerraformVariable) private static final com.google.cloud.config.v1.TerraformVariable DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.TerraformVariable(); } @@ -615,27 +674,27 @@ public static com.google.cloud.config.v1.TerraformVariable getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerraformVariable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerraformVariable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,6 +709,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.TerraformVariable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java similarity index 56% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java index 80e5c5971502..443b847a73a9 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVariableOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface TerraformVariableOrBuilder extends +public interface TerraformVariableOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.TerraformVariable) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input variable value.
    * 
* * .google.protobuf.Value input_value = 5; + * * @return Whether the inputValue field is set. */ boolean hasInputValue(); /** + * + * *
    * Input variable value.
    * 
* * .google.protobuf.Value input_value = 5; + * * @return The inputValue. */ com.google.protobuf.Value getInputValue(); /** + * + * *
    * Input variable value.
    * 
diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java similarity index 63% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java index b1de9e3367f7..42f33fe3e62b 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersion.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,6 +20,8 @@ package com.google.cloud.config.v1; /** + * + * *
  * A TerraformVersion represents the support state the corresponding
  * Terraform version.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.config.v1.TerraformVersion}
  */
-public final class TerraformVersion extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TerraformVersion extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.config.v1.TerraformVersion)
     TerraformVersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TerraformVersion.newBuilder() to construct.
   private TerraformVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TerraformVersion() {
     name_ = "";
     state_ = 0;
@@ -28,34 +46,38 @@ private TerraformVersion() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TerraformVersion();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVersion_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_TerraformVersion_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable
+    return com.google.cloud.config.v1.ConfigProto
+        .internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.config.v1.TerraformVersion.class, com.google.cloud.config.v1.TerraformVersion.Builder.class);
+            com.google.cloud.config.v1.TerraformVersion.class,
+            com.google.cloud.config.v1.TerraformVersion.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a TerraformVersion.
    * 
* * Protobuf enum {@code google.cloud.config.v1.TerraformVersion.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -64,6 +86,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The version is actively supported.
      * 
@@ -72,6 +96,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The version is deprecated.
      * 
@@ -80,6 +106,8 @@ public enum State */ DEPRECATED(2), /** + * + * *
      * The version is obsolete.
      * 
@@ -91,6 +119,8 @@ public enum State ; /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -99,6 +129,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The version is actively supported.
      * 
@@ -107,6 +139,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The version is deprecated.
      * 
@@ -115,6 +149,8 @@ public enum State */ public static final int DEPRECATED_VALUE = 2; /** + * + * *
      * The version is obsolete.
      * 
@@ -123,7 +159,6 @@ public enum State */ public static final int OBSOLETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -148,50 +183,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return ACTIVE; - case 2: return DEPRECATED; - case 3: return OBSOLETE; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return DEPRECATED; + case 3: + return OBSOLETE; + 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.config.v1.TerraformVersion.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; @@ -210,15 +246,19 @@ private State(int value) { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Identifier. The version name is in the format:
    * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return The name. */ @java.lang.Override @@ -227,30 +267,30 @@ 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; } } /** + * + * *
    * Identifier. The version name is in the format:
    * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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 { @@ -261,37 +301,54 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** + * + * *
    * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
    * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.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. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
    * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.config.v1.TerraformVersion.State getState() { - com.google.cloud.config.v1.TerraformVersion.State result = com.google.cloud.config.v1.TerraformVersion.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.config.v1.TerraformVersion.State getState() { + com.google.cloud.config.v1.TerraformVersion.State result = + com.google.cloud.config.v1.TerraformVersion.State.forNumber(state_); return result == null ? com.google.cloud.config.v1.TerraformVersion.State.UNRECOGNIZED : result; } public static final int SUPPORT_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp supportTime_; /** + * + * *
    * Output only. When the version is supported.
    * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the supportTime field is set. */ @java.lang.Override @@ -299,11 +356,15 @@ public boolean hasSupportTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Output only. When the version is supported.
    * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The supportTime. */ @java.lang.Override @@ -311,11 +372,14 @@ public com.google.protobuf.Timestamp getSupportTime() { return supportTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportTime_; } /** + * + * *
    * Output only. When the version is supported.
    * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSupportTimeOrBuilder() { @@ -325,11 +389,16 @@ public com.google.protobuf.TimestampOrBuilder getSupportTimeOrBuilder() { public static final int DEPRECATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp deprecateTime_; /** + * + * *
    * Output only. When the version is deprecated.
    * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deprecateTime field is set. */ @java.lang.Override @@ -337,37 +406,55 @@ public boolean hasDeprecateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Output only. When the version is deprecated.
    * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deprecateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDeprecateTime() { - return deprecateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deprecateTime_; + return deprecateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deprecateTime_; } /** + * + * *
    * Output only. When the version is deprecated.
    * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeprecateTimeOrBuilder() { - return deprecateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deprecateTime_; + return deprecateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deprecateTime_; } public static final int OBSOLETE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp obsoleteTime_; /** + * + * *
    * Output only. When the version is obsolete.
    * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the obsoleteTime field is set. */ @java.lang.Override @@ -375,30 +462,44 @@ public boolean hasObsoleteTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Output only. When the version is obsolete.
    * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The obsoleteTime. */ @java.lang.Override public com.google.protobuf.Timestamp getObsoleteTime() { - return obsoleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : obsoleteTime_; + return obsoleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : obsoleteTime_; } /** + * + * *
    * Output only. When the version is obsolete.
    * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getObsoleteTimeOrBuilder() { - return obsoleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : obsoleteTime_; + return obsoleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : obsoleteTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -410,8 +511,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_); } @@ -440,20 +540,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (state_ != com.google.cloud.config.v1.TerraformVersion.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSupportTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSupportTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDeprecateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDeprecateTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getObsoleteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getObsoleteTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -463,30 +559,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.config.v1.TerraformVersion)) { return super.equals(obj); } - com.google.cloud.config.v1.TerraformVersion other = (com.google.cloud.config.v1.TerraformVersion) obj; + com.google.cloud.config.v1.TerraformVersion other = + (com.google.cloud.config.v1.TerraformVersion) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (state_ != other.state_) return false; if (hasSupportTime() != other.hasSupportTime()) return false; if (hasSupportTime()) { - if (!getSupportTime() - .equals(other.getSupportTime())) return false; + if (!getSupportTime().equals(other.getSupportTime())) return false; } if (hasDeprecateTime() != other.hasDeprecateTime()) return false; if (hasDeprecateTime()) { - if (!getDeprecateTime() - .equals(other.getDeprecateTime())) return false; + if (!getDeprecateTime().equals(other.getDeprecateTime())) return false; } if (hasObsoleteTime() != other.hasObsoleteTime()) return false; if (hasObsoleteTime()) { - if (!getObsoleteTime() - .equals(other.getObsoleteTime())) return false; + if (!getObsoleteTime().equals(other.getObsoleteTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -520,99 +613,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.config.v1.TerraformVersion parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.config.v1.TerraformVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformVersion 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.config.v1.TerraformVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.TerraformVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.TerraformVersion 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.config.v1.TerraformVersion 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.config.v1.TerraformVersion 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.config.v1.TerraformVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.TerraformVersion parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.TerraformVersion 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.config.v1.TerraformVersion 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.config.v1.TerraformVersion 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.config.v1.TerraformVersion 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; } /** + * + * *
    * A TerraformVersion represents the support state the corresponding
    * Terraform version.
@@ -620,21 +718,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.config.v1.TerraformVersion}
    */
-  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.config.v1.TerraformVersion)
       com.google.cloud.config.v1.TerraformVersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVersion_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_TerraformVersion_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.config.v1.TerraformVersion.class, com.google.cloud.config.v1.TerraformVersion.Builder.class);
+              com.google.cloud.config.v1.TerraformVersion.class,
+              com.google.cloud.config.v1.TerraformVersion.Builder.class);
     }
 
     // Construct using com.google.cloud.config.v1.TerraformVersion.newBuilder()
@@ -642,19 +742,19 @@ 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) {
         getSupportTimeFieldBuilder();
         getDeprecateTimeFieldBuilder();
         getObsoleteTimeFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -680,9 +780,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_TerraformVersion_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.config.v1.ConfigProto
+          .internal_static_google_cloud_config_v1_TerraformVersion_descriptor;
     }
 
     @java.lang.Override
@@ -701,8 +801,11 @@ public com.google.cloud.config.v1.TerraformVersion build() {
 
     @java.lang.Override
     public com.google.cloud.config.v1.TerraformVersion buildPartial() {
-      com.google.cloud.config.v1.TerraformVersion result = new com.google.cloud.config.v1.TerraformVersion(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.config.v1.TerraformVersion result =
+          new com.google.cloud.config.v1.TerraformVersion(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -717,21 +820,18 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformVersion result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.supportTime_ = supportTimeBuilder_ == null
-            ? supportTime_
-            : supportTimeBuilder_.build();
+        result.supportTime_ =
+            supportTimeBuilder_ == null ? supportTime_ : supportTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.deprecateTime_ = deprecateTimeBuilder_ == null
-            ? deprecateTime_
-            : deprecateTimeBuilder_.build();
+        result.deprecateTime_ =
+            deprecateTimeBuilder_ == null ? deprecateTime_ : deprecateTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.obsoleteTime_ = obsoleteTimeBuilder_ == null
-            ? obsoleteTime_
-            : obsoleteTimeBuilder_.build();
+        result.obsoleteTime_ =
+            obsoleteTimeBuilder_ == null ? obsoleteTime_ : obsoleteTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -741,38 +841,39 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformVersion result) {
     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.config.v1.TerraformVersion) {
-        return mergeFrom((com.google.cloud.config.v1.TerraformVersion)other);
+        return mergeFrom((com.google.cloud.config.v1.TerraformVersion) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -824,43 +925,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getSupportTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getDeprecateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getObsoleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getSupportTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getDeprecateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getObsoleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -870,23 +971,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Identifier. The version name is in the format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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; @@ -895,21 +999,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Identifier. The version name is in the format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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 { @@ -917,30 +1022,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Identifier. The version name is in the format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Identifier. The version name is in the format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -950,18 +1062,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Identifier. The version name is in the format:
      * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
      * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -971,22 +1087,33 @@ public Builder setNameBytes( private int state_ = 0; /** + * + * *
      * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
      * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.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. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
      * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -997,24 +1124,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
      * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.config.v1.TerraformVersion.State getState() { - com.google.cloud.config.v1.TerraformVersion.State result = com.google.cloud.config.v1.TerraformVersion.State.forNumber(state_); - return result == null ? com.google.cloud.config.v1.TerraformVersion.State.UNRECOGNIZED : result; + com.google.cloud.config.v1.TerraformVersion.State result = + com.google.cloud.config.v1.TerraformVersion.State.forNumber(state_); + return result == null + ? com.google.cloud.config.v1.TerraformVersion.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
      * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1028,11 +1168,16 @@ public Builder setState(com.google.cloud.config.v1.TerraformVersion.State value) return this; } /** + * + * *
      * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
      * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1044,39 +1189,58 @@ public Builder clearState() { private com.google.protobuf.Timestamp supportTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> supportTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + supportTimeBuilder_; /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the supportTime field is set. */ public boolean hasSupportTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The supportTime. */ public com.google.protobuf.Timestamp getSupportTime() { if (supportTimeBuilder_ == null) { - return supportTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : supportTime_; + return supportTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportTime_; } else { return supportTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSupportTime(com.google.protobuf.Timestamp value) { if (supportTimeBuilder_ == null) { @@ -1092,14 +1256,17 @@ public Builder setSupportTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setSupportTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setSupportTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (supportTimeBuilder_ == null) { supportTime_ = builderForValue.build(); } else { @@ -1110,17 +1277,21 @@ public Builder setSupportTime( return this; } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeSupportTime(com.google.protobuf.Timestamp value) { if (supportTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - supportTime_ != null && - supportTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && supportTime_ != null + && supportTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSupportTimeBuilder().mergeFrom(value); } else { supportTime_ = value; @@ -1135,11 +1306,15 @@ public Builder mergeSupportTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSupportTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1152,11 +1327,15 @@ public Builder clearSupportTime() { return this; } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getSupportTimeBuilder() { bitField0_ |= 0x00000004; @@ -1164,36 +1343,48 @@ public com.google.protobuf.Timestamp.Builder getSupportTimeBuilder() { return getSupportTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getSupportTimeOrBuilder() { if (supportTimeBuilder_ != null) { return supportTimeBuilder_.getMessageOrBuilder(); } else { - return supportTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : supportTime_; + return supportTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : supportTime_; } } /** + * + * *
      * Output only. When the version is supported.
      * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getSupportTimeFieldBuilder() { if (supportTimeBuilder_ == null) { - supportTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getSupportTime(), - getParentForChildren(), - isClean()); + supportTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getSupportTime(), getParentForChildren(), isClean()); supportTime_ = null; } return supportTimeBuilder_; @@ -1201,39 +1392,58 @@ public com.google.protobuf.TimestampOrBuilder getSupportTimeOrBuilder() { private com.google.protobuf.Timestamp deprecateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deprecateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deprecateTimeBuilder_; /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deprecateTime field is set. */ public boolean hasDeprecateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deprecateTime. */ public com.google.protobuf.Timestamp getDeprecateTime() { if (deprecateTimeBuilder_ == null) { - return deprecateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deprecateTime_; + return deprecateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deprecateTime_; } else { return deprecateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeprecateTime(com.google.protobuf.Timestamp value) { if (deprecateTimeBuilder_ == null) { @@ -1249,14 +1459,17 @@ public Builder setDeprecateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeprecateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeprecateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deprecateTimeBuilder_ == null) { deprecateTime_ = builderForValue.build(); } else { @@ -1267,17 +1480,21 @@ public Builder setDeprecateTime( return this; } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeprecateTime(com.google.protobuf.Timestamp value) { if (deprecateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - deprecateTime_ != null && - deprecateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && deprecateTime_ != null + && deprecateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeprecateTimeBuilder().mergeFrom(value); } else { deprecateTime_ = value; @@ -1292,11 +1509,15 @@ public Builder mergeDeprecateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeprecateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1309,11 +1530,15 @@ public Builder clearDeprecateTime() { return this; } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeprecateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1321,36 +1546,48 @@ public com.google.protobuf.Timestamp.Builder getDeprecateTimeBuilder() { return getDeprecateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeprecateTimeOrBuilder() { if (deprecateTimeBuilder_ != null) { return deprecateTimeBuilder_.getMessageOrBuilder(); } else { - return deprecateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deprecateTime_; + return deprecateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deprecateTime_; } } /** + * + * *
      * Output only. When the version is deprecated.
      * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDeprecateTimeFieldBuilder() { if (deprecateTimeBuilder_ == null) { - deprecateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeprecateTime(), - getParentForChildren(), - isClean()); + deprecateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeprecateTime(), getParentForChildren(), isClean()); deprecateTime_ = null; } return deprecateTimeBuilder_; @@ -1358,39 +1595,58 @@ public com.google.protobuf.TimestampOrBuilder getDeprecateTimeOrBuilder() { private com.google.protobuf.Timestamp obsoleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> obsoleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + obsoleteTimeBuilder_; /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the obsoleteTime field is set. */ public boolean hasObsoleteTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The obsoleteTime. */ public com.google.protobuf.Timestamp getObsoleteTime() { if (obsoleteTimeBuilder_ == null) { - return obsoleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : obsoleteTime_; + return obsoleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : obsoleteTime_; } else { return obsoleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setObsoleteTime(com.google.protobuf.Timestamp value) { if (obsoleteTimeBuilder_ == null) { @@ -1406,14 +1662,17 @@ public Builder setObsoleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setObsoleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setObsoleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (obsoleteTimeBuilder_ == null) { obsoleteTime_ = builderForValue.build(); } else { @@ -1424,17 +1683,21 @@ public Builder setObsoleteTime( return this; } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeObsoleteTime(com.google.protobuf.Timestamp value) { if (obsoleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - obsoleteTime_ != null && - obsoleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && obsoleteTime_ != null + && obsoleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getObsoleteTimeBuilder().mergeFrom(value); } else { obsoleteTime_ = value; @@ -1449,11 +1712,15 @@ public Builder mergeObsoleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearObsoleteTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1466,11 +1733,15 @@ public Builder clearObsoleteTime() { return this; } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getObsoleteTimeBuilder() { bitField0_ |= 0x00000010; @@ -1478,43 +1749,55 @@ public com.google.protobuf.Timestamp.Builder getObsoleteTimeBuilder() { return getObsoleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getObsoleteTimeOrBuilder() { if (obsoleteTimeBuilder_ != null) { return obsoleteTimeBuilder_.getMessageOrBuilder(); } else { - return obsoleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : obsoleteTime_; + return obsoleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : obsoleteTime_; } } /** + * + * *
      * Output only. When the version is obsolete.
      * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getObsoleteTimeFieldBuilder() { if (obsoleteTimeBuilder_ == null) { - obsoleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getObsoleteTime(), - getParentForChildren(), - isClean()); + obsoleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getObsoleteTime(), getParentForChildren(), isClean()); obsoleteTime_ = null; } return obsoleteTimeBuilder_; } + @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); } @@ -1524,12 +1807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.TerraformVersion) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.TerraformVersion) private static final com.google.cloud.config.v1.TerraformVersion DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.TerraformVersion(); } @@ -1538,27 +1821,27 @@ public static com.google.cloud.config.v1.TerraformVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TerraformVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TerraformVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1573,6 +1856,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.TerraformVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionName.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionName.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionName.java diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java similarity index 59% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java index 21b6f0e4e8fd..b45f2b80e8c4 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformVersionOrBuilder.java @@ -1,132 +1,202 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface TerraformVersionOrBuilder extends +public interface TerraformVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.TerraformVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Identifier. The version name is in the format:
    * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Identifier. The version name is in the format:
    * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
    * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
    * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
    * 
* - * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.config.v1.TerraformVersion.State getState(); /** + * + * *
    * Output only. When the version is supported.
    * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the supportTime field is set. */ boolean hasSupportTime(); /** + * + * *
    * Output only. When the version is supported.
    * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The supportTime. */ com.google.protobuf.Timestamp getSupportTime(); /** + * + * *
    * Output only. When the version is supported.
    * 
* - * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getSupportTimeOrBuilder(); /** + * + * *
    * Output only. When the version is deprecated.
    * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deprecateTime field is set. */ boolean hasDeprecateTime(); /** + * + * *
    * Output only. When the version is deprecated.
    * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deprecateTime. */ com.google.protobuf.Timestamp getDeprecateTime(); /** + * + * *
    * Output only. When the version is deprecated.
    * 
* - * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeprecateTimeOrBuilder(); /** + * + * *
    * Output only. When the version is obsolete.
    * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the obsoleteTime field is set. */ boolean hasObsoleteTime(); /** + * + * *
    * Output only. When the version is obsolete.
    * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The obsoleteTime. */ com.google.protobuf.Timestamp getObsoleteTime(); /** + * + * *
    * Output only. When the version is obsolete.
    * 
* - * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getObsoleteTimeOrBuilder(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java similarity index 64% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java index d9a52eabd15d..605bac46526f 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto @@ -5,55 +20,65 @@ package com.google.cloud.config.v1; /** + * + * *
  * A request to unlock a state file passed to a 'UnlockDeployment' call.
  * 
* * Protobuf type {@code google.cloud.config.v1.UnlockDeploymentRequest} */ -public final class UnlockDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UnlockDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.UnlockDeploymentRequest) UnlockDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnlockDeploymentRequest.newBuilder() to construct. private UnlockDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UnlockDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UnlockDeploymentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.UnlockDeploymentRequest.class, com.google.cloud.config.v1.UnlockDeploymentRequest.Builder.class); + com.google.cloud.config.v1.UnlockDeploymentRequest.class, + com.google.cloud.config.v1.UnlockDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 @@ -62,30 +87,32 @@ 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 name of the deployment in the format:
    * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    * 
* - * string 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 { @@ -96,11 +123,14 @@ public java.lang.String getName() { public static final int LOCK_ID_FIELD_NUMBER = 2; private long lockId_ = 0L; /** + * + * *
    * Required. Lock ID of the lock file to be unlocked.
    * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ @java.lang.Override @@ -109,6 +139,7 @@ public long getLockId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +151,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_); } @@ -141,8 +171,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (lockId_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, lockId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, lockId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +181,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.config.v1.UnlockDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.UnlockDeploymentRequest other = (com.google.cloud.config.v1.UnlockDeploymentRequest) obj; + com.google.cloud.config.v1.UnlockDeploymentRequest other = + (com.google.cloud.config.v1.UnlockDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getLockId() - != other.getLockId()) return false; + if (!getName().equals(other.getName())) return false; + if (getLockId() != other.getLockId()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,139 +205,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + LOCK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLockId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLockId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.UnlockDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.UnlockDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.UnlockDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.UnlockDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest 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.config.v1.UnlockDeploymentRequest 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; } /** + * + * *
    * A request to unlock a state file passed to a 'UnlockDeployment' call.
    * 
* * Protobuf type {@code google.cloud.config.v1.UnlockDeploymentRequest} */ - 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.config.v1.UnlockDeploymentRequest) com.google.cloud.config.v1.UnlockDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.UnlockDeploymentRequest.class, com.google.cloud.config.v1.UnlockDeploymentRequest.Builder.class); + com.google.cloud.config.v1.UnlockDeploymentRequest.class, + com.google.cloud.config.v1.UnlockDeploymentRequest.Builder.class); } // Construct using com.google.cloud.config.v1.UnlockDeploymentRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; } @java.lang.Override @@ -341,8 +372,11 @@ public com.google.cloud.config.v1.UnlockDeploymentRequest build() { @java.lang.Override public com.google.cloud.config.v1.UnlockDeploymentRequest buildPartial() { - com.google.cloud.config.v1.UnlockDeploymentRequest result = new com.google.cloud.config.v1.UnlockDeploymentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.UnlockDeploymentRequest result = + new com.google.cloud.config.v1.UnlockDeploymentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -361,38 +395,39 @@ private void buildPartial0(com.google.cloud.config.v1.UnlockDeploymentRequest re 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.config.v1.UnlockDeploymentRequest) { - return mergeFrom((com.google.cloud.config.v1.UnlockDeploymentRequest)other); + return mergeFrom((com.google.cloud.config.v1.UnlockDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -400,7 +435,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.UnlockDeploymentRequest other) { - if (other == com.google.cloud.config.v1.UnlockDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.UnlockDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -435,22 +471,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - lockId_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + lockId_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -460,23 +499,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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; @@ -485,21 +529,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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 { @@ -507,30 +554,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * string 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() { @@ -540,18 +598,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the deployment in the format:
      * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -559,13 +623,16 @@ public Builder setNameBytes( return this; } - private long lockId_ ; + private long lockId_; /** + * + * *
      * Required. Lock ID of the lock file to be unlocked.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lockId. */ @java.lang.Override @@ -573,11 +640,14 @@ public long getLockId() { return lockId_; } /** + * + * *
      * Required. Lock ID of the lock file to be unlocked.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The lockId to set. * @return This builder for chaining. */ @@ -589,11 +659,14 @@ public Builder setLockId(long value) { return this; } /** + * + * *
      * Required. Lock ID of the lock file to be unlocked.
      * 
* * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLockId() { @@ -602,9 +675,9 @@ public Builder clearLockId() { 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,12 +687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.UnlockDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.UnlockDeploymentRequest) private static final com.google.cloud.config.v1.UnlockDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.UnlockDeploymentRequest(); } @@ -628,27 +701,27 @@ public static com.google.cloud.config.v1.UnlockDeploymentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnlockDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnlockDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,6 +736,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.UnlockDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java new file mode 100644 index 000000000000..4b2925f1c19f --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java @@ -0,0 +1,70 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/config/v1/config.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.config.v1; + +public interface UnlockDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.UnlockDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the deployment in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the deployment in the format:
+   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. Lock ID of the lock file to be unlocked.
+   * 
+ * + * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The lockId. + */ + long getLockId(); +} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java similarity index 72% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java index 7201039f92a9..db7eb214bd27 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequest.java @@ -1,49 +1,66 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -/** - * Protobuf type {@code google.cloud.config.v1.UpdateDeploymentRequest} - */ -public final class UpdateDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.config.v1.UpdateDeploymentRequest} */ +public final class UpdateDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.config.v1.UpdateDeploymentRequest) UpdateDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDeploymentRequest.newBuilder() to construct. private UpdateDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateDeploymentRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDeploymentRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.UpdateDeploymentRequest.class, com.google.cloud.config.v1.UpdateDeploymentRequest.Builder.class); + com.google.cloud.config.v1.UpdateDeploymentRequest.class, + com.google.cloud.config.v1.UpdateDeploymentRequest.Builder.class); } private int bitField0_; public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask used to specify the fields to be overwritten in the
    * Deployment resource by the update.
@@ -53,7 +70,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .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 @@ -61,6 +80,8 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Optional. Field mask used to specify the fields to be overwritten in the
    * Deployment resource by the update.
@@ -70,7 +91,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .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 @@ -78,6 +101,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask used to specify the fields to be overwritten in the
    * Deployment resource by the update.
@@ -87,7 +112,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .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() { @@ -97,6 +123,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int DEPLOYMENT_FIELD_NUMBER = 2; private com.google.cloud.config.v1.Deployment deployment_; /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
    *
@@ -105,7 +133,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ @java.lang.Override @@ -113,6 +144,8 @@ public boolean hasDeployment() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
    *
@@ -121,14 +154,21 @@ public boolean hasDeployment() {
    * `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ @java.lang.Override public com.google.cloud.config.v1.Deployment getDeployment() { - return deployment_ == null ? com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
    *
@@ -137,17 +177,24 @@ public com.google.cloud.config.v1.Deployment getDeployment() {
    * `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { - return deployment_ == null ? com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -165,6 +212,7 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -173,14 +221,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,16 +247,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -216,6 +264,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +276,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdateMask()); } @@ -248,12 +296,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeployment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -266,25 +312,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.config.v1.UpdateDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.config.v1.UpdateDeploymentRequest other = (com.google.cloud.config.v1.UpdateDeploymentRequest) obj; + com.google.cloud.config.v1.UpdateDeploymentRequest other = + (com.google.cloud.config.v1.UpdateDeploymentRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasDeployment() != other.hasDeployment()) return false; if (hasDeployment()) { - if (!getDeployment() - .equals(other.getDeployment())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -312,115 +356,118 @@ public int hashCode() { } public static com.google.cloud.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.UpdateDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.config.v1.UpdateDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.config.v1.UpdateDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.config.v1.UpdateDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest 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.config.v1.UpdateDeploymentRequest 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; } - /** - * Protobuf type {@code google.cloud.config.v1.UpdateDeploymentRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.config.v1.UpdateDeploymentRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.UpdateDeploymentRequest) com.google.cloud.config.v1.UpdateDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.config.v1.UpdateDeploymentRequest.class, com.google.cloud.config.v1.UpdateDeploymentRequest.Builder.class); + com.google.cloud.config.v1.UpdateDeploymentRequest.class, + com.google.cloud.config.v1.UpdateDeploymentRequest.Builder.class); } // Construct using com.google.cloud.config.v1.UpdateDeploymentRequest.newBuilder() @@ -428,18 +475,18 @@ 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) { getUpdateMaskFieldBuilder(); getDeploymentFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -459,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.config.v1.ConfigProto.internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; } @java.lang.Override @@ -480,8 +527,11 @@ public com.google.cloud.config.v1.UpdateDeploymentRequest build() { @java.lang.Override public com.google.cloud.config.v1.UpdateDeploymentRequest buildPartial() { - com.google.cloud.config.v1.UpdateDeploymentRequest result = new com.google.cloud.config.v1.UpdateDeploymentRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.config.v1.UpdateDeploymentRequest result = + new com.google.cloud.config.v1.UpdateDeploymentRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -490,15 +540,11 @@ private void buildPartial0(com.google.cloud.config.v1.UpdateDeploymentRequest re int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.deployment_ = deploymentBuilder_ == null - ? deployment_ - : deploymentBuilder_.build(); + result.deployment_ = deploymentBuilder_ == null ? deployment_ : deploymentBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -511,38 +557,39 @@ private void buildPartial0(com.google.cloud.config.v1.UpdateDeploymentRequest re 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.config.v1.UpdateDeploymentRequest) { - return mergeFrom((com.google.cloud.config.v1.UpdateDeploymentRequest)other); + return mergeFrom((com.google.cloud.config.v1.UpdateDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -550,7 +597,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.config.v1.UpdateDeploymentRequest other) { - if (other == com.google.cloud.config.v1.UpdateDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.config.v1.UpdateDeploymentRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -588,31 +636,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDeploymentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDeploymentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,12 +670,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -637,13 +691,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -653,17 +711,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -673,7 +737,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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) { @@ -689,6 +754,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -698,10 +765,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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(); } else { @@ -712,6 +779,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -721,13 +790,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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 (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -742,6 +812,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -751,7 +823,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -764,6 +837,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -773,7 +848,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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() { bitField0_ |= 0x00000001; @@ -781,6 +857,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -790,17 +868,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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. Field mask used to specify the fields to be overwritten in the
      * Deployment resource by the update.
@@ -810,17 +892,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .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_; @@ -828,8 +914,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.config.v1.Deployment deployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder> deploymentBuilder_; + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> + deploymentBuilder_; /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -838,13 +929,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ public boolean hasDeployment() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -853,17 +949,24 @@ public boolean hasDeployment() {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ public com.google.cloud.config.v1.Deployment getDeployment() { if (deploymentBuilder_ == null) { - return deployment_ == null ? com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } else { return deploymentBuilder_.getMessage(); } } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -872,7 +975,9 @@ public com.google.cloud.config.v1.Deployment getDeployment() {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeployment(com.google.cloud.config.v1.Deployment value) { if (deploymentBuilder_ == null) { @@ -888,6 +993,8 @@ public Builder setDeployment(com.google.cloud.config.v1.Deployment value) { return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -896,10 +1003,11 @@ public Builder setDeployment(com.google.cloud.config.v1.Deployment value) {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDeployment( - com.google.cloud.config.v1.Deployment.Builder builderForValue) { + public Builder setDeployment(com.google.cloud.config.v1.Deployment.Builder builderForValue) { if (deploymentBuilder_ == null) { deployment_ = builderForValue.build(); } else { @@ -910,6 +1018,8 @@ public Builder setDeployment( return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -918,13 +1028,15 @@ public Builder setDeployment(
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeployment(com.google.cloud.config.v1.Deployment value) { if (deploymentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - deployment_ != null && - deployment_ != com.google.cloud.config.v1.Deployment.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && deployment_ != null + && deployment_ != com.google.cloud.config.v1.Deployment.getDefaultInstance()) { getDeploymentBuilder().mergeFrom(value); } else { deployment_ = value; @@ -939,6 +1051,8 @@ public Builder mergeDeployment(com.google.cloud.config.v1.Deployment value) { return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -947,7 +1061,9 @@ public Builder mergeDeployment(com.google.cloud.config.v1.Deployment value) {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeployment() { bitField0_ = (bitField0_ & ~0x00000002); @@ -960,6 +1076,8 @@ public Builder clearDeployment() { return this; } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -968,7 +1086,9 @@ public Builder clearDeployment() {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.Deployment.Builder getDeploymentBuilder() { bitField0_ |= 0x00000002; @@ -976,6 +1096,8 @@ public com.google.cloud.config.v1.Deployment.Builder getDeploymentBuilder() { return getDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -984,17 +1106,22 @@ public com.google.cloud.config.v1.Deployment.Builder getDeploymentBuilder() {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { if (deploymentBuilder_ != null) { return deploymentBuilder_.getMessageOrBuilder(); } else { - return deployment_ == null ? - com.google.cloud.config.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; } } /** + * + * *
      * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
      *
@@ -1003,17 +1130,22 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() {
      * `projects/{project}/locations/{location}/deployments/{deployment}`
      * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder> + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> getDeploymentFieldBuilder() { if (deploymentBuilder_ == null) { - deploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.config.v1.Deployment, com.google.cloud.config.v1.Deployment.Builder, com.google.cloud.config.v1.DeploymentOrBuilder>( - getDeployment(), - getParentForChildren(), - isClean()); + deploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder>( + getDeployment(), getParentForChildren(), isClean()); deployment_ = null; } return deploymentBuilder_; @@ -1021,6 +1153,8 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1038,13 +1172,13 @@ public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1053,6 +1187,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1070,15 +1206,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1086,6 +1221,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1103,18 +1240,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1132,6 +1273,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1141,6 +1283,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1158,21 +1302,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; 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); } @@ -1182,12 +1328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.UpdateDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.config.v1.UpdateDeploymentRequest) private static final com.google.cloud.config.v1.UpdateDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.config.v1.UpdateDeploymentRequest(); } @@ -1196,27 +1342,27 @@ public static com.google.cloud.config.v1.UpdateDeploymentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,6 +1377,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.config.v1.UpdateDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java index f3e982e1ce8f..6495ec25a95f 100644 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentRequestOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/config/v1/config.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.config.v1; -public interface UpdateDeploymentRequestOrBuilder extends +public interface UpdateDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.UpdateDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask used to specify the fields to be overwritten in the
    * Deployment resource by the update.
@@ -18,11 +36,15 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .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. Field mask used to specify the fields to be overwritten in the
    * Deployment resource by the update.
@@ -32,11 +54,15 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .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. Field mask used to specify the fields to be overwritten in the
    * Deployment resource by the update.
@@ -46,11 +72,14 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .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. [Deployment][google.cloud.config.v1.Deployment] to update.
    *
@@ -59,11 +88,16 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ boolean hasDeployment(); /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
    *
@@ -72,11 +106,16 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ com.google.cloud.config.v1.Deployment getDeployment(); /** + * + * *
    * Required. [Deployment][google.cloud.config.v1.Deployment] to update.
    *
@@ -85,11 +124,15 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * `projects/{project}/locations/{location}/deployments/{deployment}`
    * 
* - * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -107,10 +150,13 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -128,8 +174,8 @@ public interface UpdateDeploymentRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto rename to java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider1.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider1.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetEndpoint.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetEndpoint.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeploymentLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeploymentLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeploymentLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/AsyncCreateDeploymentLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentLocationnameDeploymentString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentLocationnameDeploymentString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentLocationnameDeploymentString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentLocationnameDeploymentString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentStringDeploymentString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentStringDeploymentString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentStringDeploymentString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeployment/SyncCreateDeploymentStringDeploymentString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreviewLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreviewLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreviewLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/AsyncCreatePreviewLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewLocationnamePreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewLocationnamePreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewLocationnamePreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewLocationnamePreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewStringPreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewStringPreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewStringPreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createpreview/SyncCreatePreviewStringPreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeploymentLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeploymentLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeploymentLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/AsyncDeleteDeploymentLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentDeploymentname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentDeploymentname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentDeploymentname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentDeploymentname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeployment/SyncDeleteDeploymentString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreviewLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreviewLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreviewLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/AsyncDeletePreviewLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewPreviewname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewPreviewname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewPreviewname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewPreviewname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletepreview/SyncDeletePreviewString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/AsyncDeleteStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/AsyncDeleteStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/AsyncDeleteStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/AsyncDeleteStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileDeploymentname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileDeploymentname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileDeploymentname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileDeploymentname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletestatefile/SyncDeleteStatefileString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/AsyncExportDeploymentStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/AsyncExportDeploymentStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/AsyncExportDeploymentStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/AsyncExportDeploymentStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/SyncExportDeploymentStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/SyncExportDeploymentStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/SyncExportDeploymentStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportdeploymentstatefile/SyncExportDeploymentStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/AsyncExportLockInfo.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/AsyncExportLockInfo.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/AsyncExportLockInfo.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/AsyncExportLockInfo.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfo.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfo.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfo.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfo.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoDeploymentname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoDeploymentname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoDeploymentname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoDeploymentname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportlockinfo/SyncExportLockInfoString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/AsyncExportPreviewResult.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/AsyncExportPreviewResult.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/AsyncExportPreviewResult.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/AsyncExportPreviewResult.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/SyncExportPreviewResult.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/SyncExportPreviewResult.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/SyncExportPreviewResult.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportpreviewresult/SyncExportPreviewResult.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/AsyncExportRevisionStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/AsyncExportRevisionStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/AsyncExportRevisionStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/AsyncExportRevisionStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/SyncExportRevisionStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/SyncExportRevisionStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/SyncExportRevisionStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/exportrevisionstatefile/SyncExportRevisionStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/AsyncGetDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/AsyncGetDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/AsyncGetDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/AsyncGetDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentDeploymentname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentDeploymentname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentDeploymentname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentDeploymentname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeployment/SyncGetDeploymentString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/AsyncGetIamPolicy.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/AsyncGetIamPolicy.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/SyncGetIamPolicy.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/SyncGetIamPolicy.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/AsyncGetLocation.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/AsyncGetLocation.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/SyncGetLocation.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/SyncGetLocation.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/AsyncGetPreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/AsyncGetPreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/AsyncGetPreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/AsyncGetPreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreview.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreview.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreview.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreview.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewPreviewname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewPreviewname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewPreviewname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewPreviewname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getpreview/SyncGetPreviewString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/AsyncGetResource.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/AsyncGetResource.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/AsyncGetResource.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/AsyncGetResource.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResource.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResource.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResource.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResource.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceResourcename.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceResourcename.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceResourcename.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceResourcename.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getresource/SyncGetResourceString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/AsyncGetRevision.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/AsyncGetRevision.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/AsyncGetRevision.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/AsyncGetRevision.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevision.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevision.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevision.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevision.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionRevisionname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionRevisionname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionRevisionname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionRevisionname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getrevision/SyncGetRevisionString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/AsyncGetTerraformVersion.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/AsyncGetTerraformVersion.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/AsyncGetTerraformVersion.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/AsyncGetTerraformVersion.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersion.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersion.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersion.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersion.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionTerraformversionname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionTerraformversionname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionTerraformversionname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getterraformversion/SyncGetTerraformVersionTerraformversionname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/AsyncImportStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/AsyncImportStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/AsyncImportStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/AsyncImportStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefile.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefile.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefile.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefile.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileDeploymentnameLong.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileDeploymentnameLong.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileDeploymentnameLong.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileDeploymentnameLong.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileStringLong.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileStringLong.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileStringLong.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/importstatefile/SyncImportStatefileStringLong.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeployments.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeployments.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeployments.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeployments.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeploymentsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeploymentsPaged.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeploymentsPaged.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/AsyncListDeploymentsPaged.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeployments.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeployments.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeployments.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeployments.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsLocationname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsLocationname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsLocationname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsLocationname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeployments/SyncListDeploymentsString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocations.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocations.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocationsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocationsPaged.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/SyncListLocations.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/SyncListLocations.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviews.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviews.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviews.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviews.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviewsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviewsPaged.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviewsPaged.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/AsyncListPreviewsPaged.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviews.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviews.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviews.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviews.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsLocationname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsLocationname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsLocationname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsLocationname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listpreviews/SyncListPreviewsString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResources.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResources.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResources.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResources.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResourcesPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResourcesPaged.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResourcesPaged.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/AsyncListResourcesPaged.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResources.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResources.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResources.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResources.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesRevisionname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesRevisionname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesRevisionname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesRevisionname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listresources/SyncListResourcesString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisions.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisions.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisions.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisionsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisionsPaged.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisionsPaged.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/AsyncListRevisionsPaged.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisions.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisions.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisions.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsDeploymentname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsDeploymentname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsDeploymentname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsDeploymentname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listrevisions/SyncListRevisionsString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersions.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersions.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersions.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersionsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersionsPaged.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersionsPaged.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/AsyncListTerraformVersionsPaged.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersions.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersions.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersions.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsLocationname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsLocationname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsLocationname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsLocationname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listterraformversions/SyncListTerraformVersionsString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeploymentLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeploymentLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeploymentLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/AsyncLockDeploymentLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentDeploymentname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentDeploymentname.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentDeploymentname.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentDeploymentname.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentString.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentString.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/lockdeployment/SyncLockDeploymentString.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/AsyncSetIamPolicy.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/AsyncSetIamPolicy.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/SyncSetIamPolicy.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/SyncSetIamPolicy.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/AsyncTestIamPermissions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/AsyncTestIamPermissions.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/SyncTestIamPermissions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/SyncTestIamPermissions.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeploymentLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeploymentLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeploymentLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/AsyncUnlockDeploymentLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentDeploymentnameLong.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentDeploymentnameLong.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentDeploymentnameLong.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentDeploymentnameLong.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentStringLong.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentStringLong.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentStringLong.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/unlockdeployment/SyncUnlockDeploymentStringLong.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeploymentLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeploymentLRO.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeploymentLRO.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/AsyncUpdateDeploymentLRO.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeploymentDeploymentFieldmask.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeploymentDeploymentFieldmask.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeploymentDeploymentFieldmask.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeployment/SyncUpdateDeploymentDeploymentFieldmask.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/configsettings/getdeployment/SyncGetDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/configsettings/getdeployment/SyncGetDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/configsettings/getdeployment/SyncGetDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/configsettings/getdeployment/SyncGetDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/stub/configstubsettings/getdeployment/SyncGetDeployment.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/stub/configstubsettings/getdeployment/SyncGetDeployment.java similarity index 100% rename from owl-bot-staging/java-infra-manager/v1/samples/snippets/generated/com/google/cloud/config/v1/stub/configstubsettings/getdeployment/SyncGetDeployment.java rename to java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/stub/configstubsettings/getdeployment/SyncGetDeployment.java diff --git a/owl-bot-staging/java-infra-manager/v1/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java b/owl-bot-staging/java-infra-manager/v1/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java deleted file mode 100644 index c90864dbecf2..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java +++ /dev/null @@ -1,2245 +0,0 @@ -package com.google.cloud.config.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Infrastructure Manager is a managed service that automates the deployment and
- * management of Google Cloud infrastructure resources.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/config/v1/config.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ConfigGrpc { - - private ConfigGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.config.v1.Config"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDeployments", - requestType = com.google.cloud.config.v1.ListDeploymentsRequest.class, - responseType = com.google.cloud.config.v1.ListDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDeploymentsMethod() { - io.grpc.MethodDescriptor getListDeploymentsMethod; - if ((getListDeploymentsMethod = ConfigGrpc.getListDeploymentsMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getListDeploymentsMethod = ConfigGrpc.getListDeploymentsMethod) == null) { - ConfigGrpc.getListDeploymentsMethod = getListDeploymentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListDeploymentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListDeploymentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListDeployments")) - .build(); - } - } - } - return getListDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDeployment", - requestType = com.google.cloud.config.v1.GetDeploymentRequest.class, - responseType = com.google.cloud.config.v1.Deployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDeploymentMethod() { - io.grpc.MethodDescriptor getGetDeploymentMethod; - if ((getGetDeploymentMethod = ConfigGrpc.getGetDeploymentMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getGetDeploymentMethod = ConfigGrpc.getGetDeploymentMethod) == null) { - ConfigGrpc.getGetDeploymentMethod = getGetDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.GetDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Deployment.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetDeployment")) - .build(); - } - } - } - return getGetDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDeployment", - requestType = com.google.cloud.config.v1.CreateDeploymentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDeploymentMethod() { - io.grpc.MethodDescriptor getCreateDeploymentMethod; - if ((getCreateDeploymentMethod = ConfigGrpc.getCreateDeploymentMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getCreateDeploymentMethod = ConfigGrpc.getCreateDeploymentMethod) == null) { - ConfigGrpc.getCreateDeploymentMethod = getCreateDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.CreateDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("CreateDeployment")) - .build(); - } - } - } - return getCreateDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDeployment", - requestType = com.google.cloud.config.v1.UpdateDeploymentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDeploymentMethod() { - io.grpc.MethodDescriptor getUpdateDeploymentMethod; - if ((getUpdateDeploymentMethod = ConfigGrpc.getUpdateDeploymentMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getUpdateDeploymentMethod = ConfigGrpc.getUpdateDeploymentMethod) == null) { - ConfigGrpc.getUpdateDeploymentMethod = getUpdateDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.UpdateDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("UpdateDeployment")) - .build(); - } - } - } - return getUpdateDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDeployment", - requestType = com.google.cloud.config.v1.DeleteDeploymentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDeploymentMethod() { - io.grpc.MethodDescriptor getDeleteDeploymentMethod; - if ((getDeleteDeploymentMethod = ConfigGrpc.getDeleteDeploymentMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getDeleteDeploymentMethod = ConfigGrpc.getDeleteDeploymentMethod) == null) { - ConfigGrpc.getDeleteDeploymentMethod = getDeleteDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.DeleteDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("DeleteDeployment")) - .build(); - } - } - } - return getDeleteDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRevisions", - requestType = com.google.cloud.config.v1.ListRevisionsRequest.class, - responseType = com.google.cloud.config.v1.ListRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRevisionsMethod() { - io.grpc.MethodDescriptor getListRevisionsMethod; - if ((getListRevisionsMethod = ConfigGrpc.getListRevisionsMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getListRevisionsMethod = ConfigGrpc.getListRevisionsMethod) == null) { - ConfigGrpc.getListRevisionsMethod = getListRevisionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListRevisions")) - .build(); - } - } - } - return getListRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRevision", - requestType = com.google.cloud.config.v1.GetRevisionRequest.class, - responseType = com.google.cloud.config.v1.Revision.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRevisionMethod() { - io.grpc.MethodDescriptor getGetRevisionMethod; - if ((getGetRevisionMethod = ConfigGrpc.getGetRevisionMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getGetRevisionMethod = ConfigGrpc.getGetRevisionMethod) == null) { - ConfigGrpc.getGetRevisionMethod = getGetRevisionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.GetRevisionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Revision.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetRevision")) - .build(); - } - } - } - return getGetRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetResourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetResource", - requestType = com.google.cloud.config.v1.GetResourceRequest.class, - responseType = com.google.cloud.config.v1.Resource.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetResourceMethod() { - io.grpc.MethodDescriptor getGetResourceMethod; - if ((getGetResourceMethod = ConfigGrpc.getGetResourceMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getGetResourceMethod = ConfigGrpc.getGetResourceMethod) == null) { - ConfigGrpc.getGetResourceMethod = getGetResourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetResource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.GetResourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Resource.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetResource")) - .build(); - } - } - } - return getGetResourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListResourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListResources", - requestType = com.google.cloud.config.v1.ListResourcesRequest.class, - responseType = com.google.cloud.config.v1.ListResourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListResourcesMethod() { - io.grpc.MethodDescriptor getListResourcesMethod; - if ((getListResourcesMethod = ConfigGrpc.getListResourcesMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getListResourcesMethod = ConfigGrpc.getListResourcesMethod) == null) { - ConfigGrpc.getListResourcesMethod = getListResourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListResources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListResourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListResourcesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListResources")) - .build(); - } - } - } - return getListResourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportDeploymentStatefileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportDeploymentStatefile", - requestType = com.google.cloud.config.v1.ExportDeploymentStatefileRequest.class, - responseType = com.google.cloud.config.v1.Statefile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportDeploymentStatefileMethod() { - io.grpc.MethodDescriptor getExportDeploymentStatefileMethod; - if ((getExportDeploymentStatefileMethod = ConfigGrpc.getExportDeploymentStatefileMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getExportDeploymentStatefileMethod = ConfigGrpc.getExportDeploymentStatefileMethod) == null) { - ConfigGrpc.getExportDeploymentStatefileMethod = getExportDeploymentStatefileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDeploymentStatefile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ExportDeploymentStatefileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Statefile.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ExportDeploymentStatefile")) - .build(); - } - } - } - return getExportDeploymentStatefileMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportRevisionStatefileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportRevisionStatefile", - requestType = com.google.cloud.config.v1.ExportRevisionStatefileRequest.class, - responseType = com.google.cloud.config.v1.Statefile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportRevisionStatefileMethod() { - io.grpc.MethodDescriptor getExportRevisionStatefileMethod; - if ((getExportRevisionStatefileMethod = ConfigGrpc.getExportRevisionStatefileMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getExportRevisionStatefileMethod = ConfigGrpc.getExportRevisionStatefileMethod) == null) { - ConfigGrpc.getExportRevisionStatefileMethod = getExportRevisionStatefileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRevisionStatefile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ExportRevisionStatefileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Statefile.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ExportRevisionStatefile")) - .build(); - } - } - } - return getExportRevisionStatefileMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportStatefileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportStatefile", - requestType = com.google.cloud.config.v1.ImportStatefileRequest.class, - responseType = com.google.cloud.config.v1.Statefile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportStatefileMethod() { - io.grpc.MethodDescriptor getImportStatefileMethod; - if ((getImportStatefileMethod = ConfigGrpc.getImportStatefileMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getImportStatefileMethod = ConfigGrpc.getImportStatefileMethod) == null) { - ConfigGrpc.getImportStatefileMethod = getImportStatefileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportStatefile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ImportStatefileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Statefile.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ImportStatefile")) - .build(); - } - } - } - return getImportStatefileMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteStatefileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteStatefile", - requestType = com.google.cloud.config.v1.DeleteStatefileRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteStatefileMethod() { - io.grpc.MethodDescriptor getDeleteStatefileMethod; - if ((getDeleteStatefileMethod = ConfigGrpc.getDeleteStatefileMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getDeleteStatefileMethod = ConfigGrpc.getDeleteStatefileMethod) == null) { - ConfigGrpc.getDeleteStatefileMethod = getDeleteStatefileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStatefile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.DeleteStatefileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("DeleteStatefile")) - .build(); - } - } - } - return getDeleteStatefileMethod; - } - - private static volatile io.grpc.MethodDescriptor getLockDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "LockDeployment", - requestType = com.google.cloud.config.v1.LockDeploymentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getLockDeploymentMethod() { - io.grpc.MethodDescriptor getLockDeploymentMethod; - if ((getLockDeploymentMethod = ConfigGrpc.getLockDeploymentMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getLockDeploymentMethod = ConfigGrpc.getLockDeploymentMethod) == null) { - ConfigGrpc.getLockDeploymentMethod = getLockDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LockDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.LockDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("LockDeployment")) - .build(); - } - } - } - return getLockDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUnlockDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UnlockDeployment", - requestType = com.google.cloud.config.v1.UnlockDeploymentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUnlockDeploymentMethod() { - io.grpc.MethodDescriptor getUnlockDeploymentMethod; - if ((getUnlockDeploymentMethod = ConfigGrpc.getUnlockDeploymentMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getUnlockDeploymentMethod = ConfigGrpc.getUnlockDeploymentMethod) == null) { - ConfigGrpc.getUnlockDeploymentMethod = getUnlockDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnlockDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.UnlockDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("UnlockDeployment")) - .build(); - } - } - } - return getUnlockDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportLockInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportLockInfo", - requestType = com.google.cloud.config.v1.ExportLockInfoRequest.class, - responseType = com.google.cloud.config.v1.LockInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportLockInfoMethod() { - io.grpc.MethodDescriptor getExportLockInfoMethod; - if ((getExportLockInfoMethod = ConfigGrpc.getExportLockInfoMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getExportLockInfoMethod = ConfigGrpc.getExportLockInfoMethod) == null) { - ConfigGrpc.getExportLockInfoMethod = getExportLockInfoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportLockInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ExportLockInfoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.LockInfo.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ExportLockInfo")) - .build(); - } - } - } - return getExportLockInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePreviewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePreview", - requestType = com.google.cloud.config.v1.CreatePreviewRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePreviewMethod() { - io.grpc.MethodDescriptor getCreatePreviewMethod; - if ((getCreatePreviewMethod = ConfigGrpc.getCreatePreviewMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getCreatePreviewMethod = ConfigGrpc.getCreatePreviewMethod) == null) { - ConfigGrpc.getCreatePreviewMethod = getCreatePreviewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePreview")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.CreatePreviewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("CreatePreview")) - .build(); - } - } - } - return getCreatePreviewMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPreviewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPreview", - requestType = com.google.cloud.config.v1.GetPreviewRequest.class, - responseType = com.google.cloud.config.v1.Preview.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPreviewMethod() { - io.grpc.MethodDescriptor getGetPreviewMethod; - if ((getGetPreviewMethod = ConfigGrpc.getGetPreviewMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getGetPreviewMethod = ConfigGrpc.getGetPreviewMethod) == null) { - ConfigGrpc.getGetPreviewMethod = getGetPreviewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPreview")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.GetPreviewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.Preview.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetPreview")) - .build(); - } - } - } - return getGetPreviewMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPreviewsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPreviews", - requestType = com.google.cloud.config.v1.ListPreviewsRequest.class, - responseType = com.google.cloud.config.v1.ListPreviewsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPreviewsMethod() { - io.grpc.MethodDescriptor getListPreviewsMethod; - if ((getListPreviewsMethod = ConfigGrpc.getListPreviewsMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getListPreviewsMethod = ConfigGrpc.getListPreviewsMethod) == null) { - ConfigGrpc.getListPreviewsMethod = getListPreviewsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPreviews")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListPreviewsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListPreviewsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListPreviews")) - .build(); - } - } - } - return getListPreviewsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePreviewMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePreview", - requestType = com.google.cloud.config.v1.DeletePreviewRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePreviewMethod() { - io.grpc.MethodDescriptor getDeletePreviewMethod; - if ((getDeletePreviewMethod = ConfigGrpc.getDeletePreviewMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getDeletePreviewMethod = ConfigGrpc.getDeletePreviewMethod) == null) { - ConfigGrpc.getDeletePreviewMethod = getDeletePreviewMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePreview")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.DeletePreviewRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("DeletePreview")) - .build(); - } - } - } - return getDeletePreviewMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportPreviewResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportPreviewResult", - requestType = com.google.cloud.config.v1.ExportPreviewResultRequest.class, - responseType = com.google.cloud.config.v1.ExportPreviewResultResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportPreviewResultMethod() { - io.grpc.MethodDescriptor getExportPreviewResultMethod; - if ((getExportPreviewResultMethod = ConfigGrpc.getExportPreviewResultMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getExportPreviewResultMethod = ConfigGrpc.getExportPreviewResultMethod) == null) { - ConfigGrpc.getExportPreviewResultMethod = getExportPreviewResultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportPreviewResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ExportPreviewResultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ExportPreviewResultResponse.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ExportPreviewResult")) - .build(); - } - } - } - return getExportPreviewResultMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTerraformVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTerraformVersions", - requestType = com.google.cloud.config.v1.ListTerraformVersionsRequest.class, - responseType = com.google.cloud.config.v1.ListTerraformVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTerraformVersionsMethod() { - io.grpc.MethodDescriptor getListTerraformVersionsMethod; - if ((getListTerraformVersionsMethod = ConfigGrpc.getListTerraformVersionsMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getListTerraformVersionsMethod = ConfigGrpc.getListTerraformVersionsMethod) == null) { - ConfigGrpc.getListTerraformVersionsMethod = getListTerraformVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTerraformVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListTerraformVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.ListTerraformVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("ListTerraformVersions")) - .build(); - } - } - } - return getListTerraformVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTerraformVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTerraformVersion", - requestType = com.google.cloud.config.v1.GetTerraformVersionRequest.class, - responseType = com.google.cloud.config.v1.TerraformVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTerraformVersionMethod() { - io.grpc.MethodDescriptor getGetTerraformVersionMethod; - if ((getGetTerraformVersionMethod = ConfigGrpc.getGetTerraformVersionMethod) == null) { - synchronized (ConfigGrpc.class) { - if ((getGetTerraformVersionMethod = ConfigGrpc.getGetTerraformVersionMethod) == null) { - ConfigGrpc.getGetTerraformVersionMethod = getGetTerraformVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTerraformVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.GetTerraformVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.config.v1.TerraformVersion.getDefaultInstance())) - .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetTerraformVersion")) - .build(); - } - } - } - return getGetTerraformVersionMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ConfigStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ConfigStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ConfigStub(channel, callOptions); - } - }; - return ConfigStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ConfigBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ConfigBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ConfigBlockingStub(channel, callOptions); - } - }; - return ConfigBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ConfigFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ConfigFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ConfigFutureStub(channel, callOptions); - } - }; - return ConfigFutureStub.newStub(factory, channel); - } - - /** - *
-   * Infrastructure Manager is a managed service that automates the deployment and
-   * management of Google Cloud infrastructure resources.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
-     * and location.
-     * 
- */ - default void listDeployments(com.google.cloud.config.v1.ListDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeploymentsMethod(), responseObserver); - } - - /** - *
-     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - default void getDeployment(com.google.cloud.config.v1.GetDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeploymentMethod(), responseObserver); - } - - /** - *
-     * Creates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - default void createDeployment(com.google.cloud.config.v1.CreateDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeploymentMethod(), responseObserver); - } - - /** - *
-     * Updates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - default void updateDeployment(com.google.cloud.config.v1.UpdateDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDeploymentMethod(), responseObserver); - } - - /** - *
-     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - default void deleteDeployment(com.google.cloud.config.v1.DeleteDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeploymentMethod(), responseObserver); - } - - /** - *
-     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
-     * 
- */ - default void listRevisions(com.google.cloud.config.v1.ListRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRevisionsMethod(), responseObserver); - } - - /** - *
-     * Gets details about a [Revision][google.cloud.config.v1.Revision].
-     * 
- */ - default void getRevision(com.google.cloud.config.v1.GetRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRevisionMethod(), responseObserver); - } - - /** - *
-     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
-     * by Infra Manager.
-     * 
- */ - default void getResource(com.google.cloud.config.v1.GetResourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetResourceMethod(), responseObserver); - } - - /** - *
-     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
-     * 
- */ - default void listResources(com.google.cloud.config.v1.ListResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListResourcesMethod(), responseObserver); - } - - /** - *
-     * Exports Terraform state file from a given deployment.
-     * 
- */ - default void exportDeploymentStatefile(com.google.cloud.config.v1.ExportDeploymentStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportDeploymentStatefileMethod(), responseObserver); - } - - /** - *
-     * Exports Terraform state file from a given revision.
-     * 
- */ - default void exportRevisionStatefile(com.google.cloud.config.v1.ExportRevisionStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRevisionStatefileMethod(), responseObserver); - } - - /** - *
-     * Imports Terraform state file in a given deployment. The state file does not
-     * take effect until the Deployment has been unlocked.
-     * 
- */ - default void importStatefile(com.google.cloud.config.v1.ImportStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportStatefileMethod(), responseObserver); - } - - /** - *
-     * Deletes Terraform state file in a given deployment.
-     * 
- */ - default void deleteStatefile(com.google.cloud.config.v1.DeleteStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStatefileMethod(), responseObserver); - } - - /** - *
-     * Locks a deployment.
-     * 
- */ - default void lockDeployment(com.google.cloud.config.v1.LockDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLockDeploymentMethod(), responseObserver); - } - - /** - *
-     * Unlocks a locked deployment.
-     * 
- */ - default void unlockDeployment(com.google.cloud.config.v1.UnlockDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnlockDeploymentMethod(), responseObserver); - } - - /** - *
-     * Exports the lock info on a locked deployment.
-     * 
- */ - default void exportLockInfo(com.google.cloud.config.v1.ExportLockInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportLockInfoMethod(), responseObserver); - } - - /** - *
-     * Creates a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - default void createPreview(com.google.cloud.config.v1.CreatePreviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePreviewMethod(), responseObserver); - } - - /** - *
-     * Gets details about a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - default void getPreview(com.google.cloud.config.v1.GetPreviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPreviewMethod(), responseObserver); - } - - /** - *
-     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
-     * location.
-     * 
- */ - default void listPreviews(com.google.cloud.config.v1.ListPreviewsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPreviewsMethod(), responseObserver); - } - - /** - *
-     * Deletes a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - default void deletePreview(com.google.cloud.config.v1.DeletePreviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePreviewMethod(), responseObserver); - } - - /** - *
-     * Export [Preview][google.cloud.config.v1.Preview] results.
-     * 
- */ - default void exportPreviewResult(com.google.cloud.config.v1.ExportPreviewResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportPreviewResultMethod(), responseObserver); - } - - /** - *
-     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
-     * given project and location.
-     * 
- */ - default void listTerraformVersions(com.google.cloud.config.v1.ListTerraformVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTerraformVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets details about a
-     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
-     * 
- */ - default void getTerraformVersion(com.google.cloud.config.v1.GetTerraformVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTerraformVersionMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Config. - *
-   * Infrastructure Manager is a managed service that automates the deployment and
-   * management of Google Cloud infrastructure resources.
-   * 
- */ - public static abstract class ConfigImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return ConfigGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Config. - *
-   * Infrastructure Manager is a managed service that automates the deployment and
-   * management of Google Cloud infrastructure resources.
-   * 
- */ - public static final class ConfigStub - extends io.grpc.stub.AbstractAsyncStub { - private ConfigStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ConfigStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ConfigStub(channel, callOptions); - } - - /** - *
-     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
-     * and location.
-     * 
- */ - public void listDeployments(com.google.cloud.config.v1.ListDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public void getDeployment(com.google.cloud.config.v1.GetDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public void createDeployment(com.google.cloud.config.v1.CreateDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public void updateDeployment(com.google.cloud.config.v1.UpdateDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public void deleteDeployment(com.google.cloud.config.v1.DeleteDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
-     * 
- */ - public void listRevisions(com.google.cloud.config.v1.ListRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about a [Revision][google.cloud.config.v1.Revision].
-     * 
- */ - public void getRevision(com.google.cloud.config.v1.GetRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRevisionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
-     * by Infra Manager.
-     * 
- */ - public void getResource(com.google.cloud.config.v1.GetResourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetResourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
-     * 
- */ - public void listResources(com.google.cloud.config.v1.ListResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListResourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Exports Terraform state file from a given deployment.
-     * 
- */ - public void exportDeploymentStatefile(com.google.cloud.config.v1.ExportDeploymentStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportDeploymentStatefileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Exports Terraform state file from a given revision.
-     * 
- */ - public void exportRevisionStatefile(com.google.cloud.config.v1.ExportRevisionStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRevisionStatefileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Terraform state file in a given deployment. The state file does not
-     * take effect until the Deployment has been unlocked.
-     * 
- */ - public void importStatefile(com.google.cloud.config.v1.ImportStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportStatefileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes Terraform state file in a given deployment.
-     * 
- */ - public void deleteStatefile(com.google.cloud.config.v1.DeleteStatefileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteStatefileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Locks a deployment.
-     * 
- */ - public void lockDeployment(com.google.cloud.config.v1.LockDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLockDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Unlocks a locked deployment.
-     * 
- */ - public void unlockDeployment(com.google.cloud.config.v1.UnlockDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnlockDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Exports the lock info on a locked deployment.
-     * 
- */ - public void exportLockInfo(com.google.cloud.config.v1.ExportLockInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportLockInfoMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public void createPreview(com.google.cloud.config.v1.CreatePreviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePreviewMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public void getPreview(com.google.cloud.config.v1.GetPreviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPreviewMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
-     * location.
-     * 
- */ - public void listPreviews(com.google.cloud.config.v1.ListPreviewsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPreviewsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public void deletePreview(com.google.cloud.config.v1.DeletePreviewRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePreviewMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Export [Preview][google.cloud.config.v1.Preview] results.
-     * 
- */ - public void exportPreviewResult(com.google.cloud.config.v1.ExportPreviewResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportPreviewResultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
-     * given project and location.
-     * 
- */ - public void listTerraformVersions(com.google.cloud.config.v1.ListTerraformVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTerraformVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about a
-     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
-     * 
- */ - public void getTerraformVersion(com.google.cloud.config.v1.GetTerraformVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTerraformVersionMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Config. - *
-   * Infrastructure Manager is a managed service that automates the deployment and
-   * management of Google Cloud infrastructure resources.
-   * 
- */ - public static final class ConfigBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ConfigBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ConfigBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ConfigBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
-     * and location.
-     * 
- */ - public com.google.cloud.config.v1.ListDeploymentsResponse listDeployments(com.google.cloud.config.v1.ListDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDeploymentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.cloud.config.v1.Deployment getDeployment(com.google.cloud.config.v1.GetDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.longrunning.Operation createDeployment(com.google.cloud.config.v1.CreateDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.longrunning.Operation updateDeployment(com.google.cloud.config.v1.UpdateDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.longrunning.Operation deleteDeployment(com.google.cloud.config.v1.DeleteDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
-     * 
- */ - public com.google.cloud.config.v1.ListRevisionsResponse listRevisions(com.google.cloud.config.v1.ListRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRevisionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about a [Revision][google.cloud.config.v1.Revision].
-     * 
- */ - public com.google.cloud.config.v1.Revision getRevision(com.google.cloud.config.v1.GetRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRevisionMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
-     * by Infra Manager.
-     * 
- */ - public com.google.cloud.config.v1.Resource getResource(com.google.cloud.config.v1.GetResourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetResourceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
-     * 
- */ - public com.google.cloud.config.v1.ListResourcesResponse listResources(com.google.cloud.config.v1.ListResourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListResourcesMethod(), getCallOptions(), request); - } - - /** - *
-     * Exports Terraform state file from a given deployment.
-     * 
- */ - public com.google.cloud.config.v1.Statefile exportDeploymentStatefile(com.google.cloud.config.v1.ExportDeploymentStatefileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportDeploymentStatefileMethod(), getCallOptions(), request); - } - - /** - *
-     * Exports Terraform state file from a given revision.
-     * 
- */ - public com.google.cloud.config.v1.Statefile exportRevisionStatefile(com.google.cloud.config.v1.ExportRevisionStatefileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportRevisionStatefileMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Terraform state file in a given deployment. The state file does not
-     * take effect until the Deployment has been unlocked.
-     * 
- */ - public com.google.cloud.config.v1.Statefile importStatefile(com.google.cloud.config.v1.ImportStatefileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportStatefileMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes Terraform state file in a given deployment.
-     * 
- */ - public com.google.protobuf.Empty deleteStatefile(com.google.cloud.config.v1.DeleteStatefileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteStatefileMethod(), getCallOptions(), request); - } - - /** - *
-     * Locks a deployment.
-     * 
- */ - public com.google.longrunning.Operation lockDeployment(com.google.cloud.config.v1.LockDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getLockDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Unlocks a locked deployment.
-     * 
- */ - public com.google.longrunning.Operation unlockDeployment(com.google.cloud.config.v1.UnlockDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUnlockDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Exports the lock info on a locked deployment.
-     * 
- */ - public com.google.cloud.config.v1.LockInfo exportLockInfo(com.google.cloud.config.v1.ExportLockInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportLockInfoMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public com.google.longrunning.Operation createPreview(com.google.cloud.config.v1.CreatePreviewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePreviewMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public com.google.cloud.config.v1.Preview getPreview(com.google.cloud.config.v1.GetPreviewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPreviewMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
-     * location.
-     * 
- */ - public com.google.cloud.config.v1.ListPreviewsResponse listPreviews(com.google.cloud.config.v1.ListPreviewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPreviewsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public com.google.longrunning.Operation deletePreview(com.google.cloud.config.v1.DeletePreviewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePreviewMethod(), getCallOptions(), request); - } - - /** - *
-     * Export [Preview][google.cloud.config.v1.Preview] results.
-     * 
- */ - public com.google.cloud.config.v1.ExportPreviewResultResponse exportPreviewResult(com.google.cloud.config.v1.ExportPreviewResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportPreviewResultMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
-     * given project and location.
-     * 
- */ - public com.google.cloud.config.v1.ListTerraformVersionsResponse listTerraformVersions(com.google.cloud.config.v1.ListTerraformVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTerraformVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about a
-     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
-     * 
- */ - public com.google.cloud.config.v1.TerraformVersion getTerraformVersion(com.google.cloud.config.v1.GetTerraformVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTerraformVersionMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Config. - *
-   * Infrastructure Manager is a managed service that automates the deployment and
-   * management of Google Cloud infrastructure resources.
-   * 
- */ - public static final class ConfigFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ConfigFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ConfigFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ConfigFutureStub(channel, callOptions); - } - - /** - *
-     * Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
-     * and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDeployments( - com.google.cloud.config.v1.ListDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDeployment( - com.google.cloud.config.v1.GetDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDeployment( - com.google.cloud.config.v1.CreateDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDeployment( - com.google.cloud.config.v1.UpdateDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a [Deployment][google.cloud.config.v1.Deployment].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDeployment( - com.google.cloud.config.v1.DeleteDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRevisions( - com.google.cloud.config.v1.ListRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about a [Revision][google.cloud.config.v1.Revision].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRevision( - com.google.cloud.config.v1.GetRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRevisionMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
-     * by Infra Manager.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getResource( - com.google.cloud.config.v1.GetResourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetResourceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists [Resource][google.cloud.config.v1.Resource]s in a given revision.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listResources( - com.google.cloud.config.v1.ListResourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListResourcesMethod(), getCallOptions()), request); - } - - /** - *
-     * Exports Terraform state file from a given deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportDeploymentStatefile( - com.google.cloud.config.v1.ExportDeploymentStatefileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportDeploymentStatefileMethod(), getCallOptions()), request); - } - - /** - *
-     * Exports Terraform state file from a given revision.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportRevisionStatefile( - com.google.cloud.config.v1.ExportRevisionStatefileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportRevisionStatefileMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Terraform state file in a given deployment. The state file does not
-     * take effect until the Deployment has been unlocked.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importStatefile( - com.google.cloud.config.v1.ImportStatefileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportStatefileMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes Terraform state file in a given deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteStatefile( - com.google.cloud.config.v1.DeleteStatefileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteStatefileMethod(), getCallOptions()), request); - } - - /** - *
-     * Locks a deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture lockDeployment( - com.google.cloud.config.v1.LockDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getLockDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Unlocks a locked deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture unlockDeployment( - com.google.cloud.config.v1.UnlockDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUnlockDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Exports the lock info on a locked deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportLockInfo( - com.google.cloud.config.v1.ExportLockInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportLockInfoMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createPreview( - com.google.cloud.config.v1.CreatePreviewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePreviewMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPreview( - com.google.cloud.config.v1.GetPreviewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPreviewMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
-     * location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPreviews( - com.google.cloud.config.v1.ListPreviewsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPreviewsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a [Preview][google.cloud.config.v1.Preview].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePreview( - com.google.cloud.config.v1.DeletePreviewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePreviewMethod(), getCallOptions()), request); - } - - /** - *
-     * Export [Preview][google.cloud.config.v1.Preview] results.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportPreviewResult( - com.google.cloud.config.v1.ExportPreviewResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportPreviewResultMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
-     * given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTerraformVersions( - com.google.cloud.config.v1.ListTerraformVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTerraformVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about a
-     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTerraformVersion( - com.google.cloud.config.v1.GetTerraformVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTerraformVersionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DEPLOYMENTS = 0; - private static final int METHODID_GET_DEPLOYMENT = 1; - private static final int METHODID_CREATE_DEPLOYMENT = 2; - private static final int METHODID_UPDATE_DEPLOYMENT = 3; - private static final int METHODID_DELETE_DEPLOYMENT = 4; - private static final int METHODID_LIST_REVISIONS = 5; - private static final int METHODID_GET_REVISION = 6; - private static final int METHODID_GET_RESOURCE = 7; - private static final int METHODID_LIST_RESOURCES = 8; - private static final int METHODID_EXPORT_DEPLOYMENT_STATEFILE = 9; - private static final int METHODID_EXPORT_REVISION_STATEFILE = 10; - private static final int METHODID_IMPORT_STATEFILE = 11; - private static final int METHODID_DELETE_STATEFILE = 12; - private static final int METHODID_LOCK_DEPLOYMENT = 13; - private static final int METHODID_UNLOCK_DEPLOYMENT = 14; - private static final int METHODID_EXPORT_LOCK_INFO = 15; - private static final int METHODID_CREATE_PREVIEW = 16; - private static final int METHODID_GET_PREVIEW = 17; - private static final int METHODID_LIST_PREVIEWS = 18; - private static final int METHODID_DELETE_PREVIEW = 19; - private static final int METHODID_EXPORT_PREVIEW_RESULT = 20; - private static final int METHODID_LIST_TERRAFORM_VERSIONS = 21; - private static final int METHODID_GET_TERRAFORM_VERSION = 22; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_DEPLOYMENTS: - serviceImpl.listDeployments((com.google.cloud.config.v1.ListDeploymentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DEPLOYMENT: - serviceImpl.getDeployment((com.google.cloud.config.v1.GetDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DEPLOYMENT: - serviceImpl.createDeployment((com.google.cloud.config.v1.CreateDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DEPLOYMENT: - serviceImpl.updateDeployment((com.google.cloud.config.v1.UpdateDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DEPLOYMENT: - serviceImpl.deleteDeployment((com.google.cloud.config.v1.DeleteDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REVISIONS: - serviceImpl.listRevisions((com.google.cloud.config.v1.ListRevisionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REVISION: - serviceImpl.getRevision((com.google.cloud.config.v1.GetRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_RESOURCE: - serviceImpl.getResource((com.google.cloud.config.v1.GetResourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_RESOURCES: - serviceImpl.listResources((com.google.cloud.config.v1.ListResourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_DEPLOYMENT_STATEFILE: - serviceImpl.exportDeploymentStatefile((com.google.cloud.config.v1.ExportDeploymentStatefileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_REVISION_STATEFILE: - serviceImpl.exportRevisionStatefile((com.google.cloud.config.v1.ExportRevisionStatefileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_STATEFILE: - serviceImpl.importStatefile((com.google.cloud.config.v1.ImportStatefileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_STATEFILE: - serviceImpl.deleteStatefile((com.google.cloud.config.v1.DeleteStatefileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LOCK_DEPLOYMENT: - serviceImpl.lockDeployment((com.google.cloud.config.v1.LockDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNLOCK_DEPLOYMENT: - serviceImpl.unlockDeployment((com.google.cloud.config.v1.UnlockDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_LOCK_INFO: - serviceImpl.exportLockInfo((com.google.cloud.config.v1.ExportLockInfoRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PREVIEW: - serviceImpl.createPreview((com.google.cloud.config.v1.CreatePreviewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PREVIEW: - serviceImpl.getPreview((com.google.cloud.config.v1.GetPreviewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PREVIEWS: - serviceImpl.listPreviews((com.google.cloud.config.v1.ListPreviewsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PREVIEW: - serviceImpl.deletePreview((com.google.cloud.config.v1.DeletePreviewRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_PREVIEW_RESULT: - serviceImpl.exportPreviewResult((com.google.cloud.config.v1.ExportPreviewResultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TERRAFORM_VERSIONS: - serviceImpl.listTerraformVersions((com.google.cloud.config.v1.ListTerraformVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TERRAFORM_VERSION: - serviceImpl.getTerraformVersion((com.google.cloud.config.v1.GetTerraformVersionRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ListDeploymentsRequest, - com.google.cloud.config.v1.ListDeploymentsResponse>( - service, METHODID_LIST_DEPLOYMENTS))) - .addMethod( - getGetDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.GetDeploymentRequest, - com.google.cloud.config.v1.Deployment>( - service, METHODID_GET_DEPLOYMENT))) - .addMethod( - getCreateDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.CreateDeploymentRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DEPLOYMENT))) - .addMethod( - getUpdateDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.UpdateDeploymentRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DEPLOYMENT))) - .addMethod( - getDeleteDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.DeleteDeploymentRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_DEPLOYMENT))) - .addMethod( - getListRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ListRevisionsRequest, - com.google.cloud.config.v1.ListRevisionsResponse>( - service, METHODID_LIST_REVISIONS))) - .addMethod( - getGetRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.GetRevisionRequest, - com.google.cloud.config.v1.Revision>( - service, METHODID_GET_REVISION))) - .addMethod( - getGetResourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.GetResourceRequest, - com.google.cloud.config.v1.Resource>( - service, METHODID_GET_RESOURCE))) - .addMethod( - getListResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ListResourcesRequest, - com.google.cloud.config.v1.ListResourcesResponse>( - service, METHODID_LIST_RESOURCES))) - .addMethod( - getExportDeploymentStatefileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ExportDeploymentStatefileRequest, - com.google.cloud.config.v1.Statefile>( - service, METHODID_EXPORT_DEPLOYMENT_STATEFILE))) - .addMethod( - getExportRevisionStatefileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ExportRevisionStatefileRequest, - com.google.cloud.config.v1.Statefile>( - service, METHODID_EXPORT_REVISION_STATEFILE))) - .addMethod( - getImportStatefileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ImportStatefileRequest, - com.google.cloud.config.v1.Statefile>( - service, METHODID_IMPORT_STATEFILE))) - .addMethod( - getDeleteStatefileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.DeleteStatefileRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_STATEFILE))) - .addMethod( - getLockDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.LockDeploymentRequest, - com.google.longrunning.Operation>( - service, METHODID_LOCK_DEPLOYMENT))) - .addMethod( - getUnlockDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.UnlockDeploymentRequest, - com.google.longrunning.Operation>( - service, METHODID_UNLOCK_DEPLOYMENT))) - .addMethod( - getExportLockInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ExportLockInfoRequest, - com.google.cloud.config.v1.LockInfo>( - service, METHODID_EXPORT_LOCK_INFO))) - .addMethod( - getCreatePreviewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.CreatePreviewRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_PREVIEW))) - .addMethod( - getGetPreviewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.GetPreviewRequest, - com.google.cloud.config.v1.Preview>( - service, METHODID_GET_PREVIEW))) - .addMethod( - getListPreviewsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ListPreviewsRequest, - com.google.cloud.config.v1.ListPreviewsResponse>( - service, METHODID_LIST_PREVIEWS))) - .addMethod( - getDeletePreviewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.DeletePreviewRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_PREVIEW))) - .addMethod( - getExportPreviewResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ExportPreviewResultRequest, - com.google.cloud.config.v1.ExportPreviewResultResponse>( - service, METHODID_EXPORT_PREVIEW_RESULT))) - .addMethod( - getListTerraformVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.ListTerraformVersionsRequest, - com.google.cloud.config.v1.ListTerraformVersionsResponse>( - service, METHODID_LIST_TERRAFORM_VERSIONS))) - .addMethod( - getGetTerraformVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.config.v1.GetTerraformVersionRequest, - com.google.cloud.config.v1.TerraformVersion>( - service, METHODID_GET_TERRAFORM_VERSION))) - .build(); - } - - private static abstract class ConfigBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ConfigBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.config.v1.ConfigProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Config"); - } - } - - private static final class ConfigFileDescriptorSupplier - extends ConfigBaseDescriptorSupplier { - ConfigFileDescriptorSupplier() {} - } - - private static final class ConfigMethodDescriptorSupplier - extends ConfigBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - ConfigMethodDescriptorSupplier(java.lang.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 (ConfigGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ConfigFileDescriptorSupplier()) - .addMethod(getListDeploymentsMethod()) - .addMethod(getGetDeploymentMethod()) - .addMethod(getCreateDeploymentMethod()) - .addMethod(getUpdateDeploymentMethod()) - .addMethod(getDeleteDeploymentMethod()) - .addMethod(getListRevisionsMethod()) - .addMethod(getGetRevisionMethod()) - .addMethod(getGetResourceMethod()) - .addMethod(getListResourcesMethod()) - .addMethod(getExportDeploymentStatefileMethod()) - .addMethod(getExportRevisionStatefileMethod()) - .addMethod(getImportStatefileMethod()) - .addMethod(getDeleteStatefileMethod()) - .addMethod(getLockDeploymentMethod()) - .addMethod(getUnlockDeploymentMethod()) - .addMethod(getExportLockInfoMethod()) - .addMethod(getCreatePreviewMethod()) - .addMethod(getGetPreviewMethod()) - .addMethod(getListPreviewsMethod()) - .addMethod(getDeletePreviewMethod()) - .addMethod(getExportPreviewResultMethod()) - .addMethod(getListTerraformVersionsMethod()) - .addMethod(getGetTerraformVersionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java deleted file mode 100644 index 9752a774a38f..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java +++ /dev/null @@ -1,1118 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public final class ConfigProto { - private ConfigProto() {} - 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_config_v1_Deployment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Deployment_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_TerraformVariable_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ApplyResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_TerraformOutput_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Revision_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Revision_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_TerraformError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_GitSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_GetResourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Statefile_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_LockInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Preview_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Preview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_Preview_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_PreviewResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_config_v1_TerraformVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_config_v1_TerraformVersion_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/config/v1/config.proto\022\026g" + - "oogle.cloud.config.v1\032\034google/api/annota" + - "tions.proto\032\027google/api/client.proto\032\037go" + - "ogle/api/field_behavior.proto\032\033google/ap" + - "i/field_info.proto\032\031google/api/resource." + - "proto\032#google/longrunning/operations.pro" + - "to\032\033google/protobuf/empty.proto\032 google/" + - "protobuf/field_mask.proto\032\034google/protob" + - "uf/struct.proto\032\037google/protobuf/timesta" + - "mp.proto\032\027google/rpc/status.proto\"\315\016\n\nDe" + - "ployment\022I\n\023terraform_blueprint\030\006 \001(\0132*." + - "google.cloud.config.v1.TerraformBlueprin" + - "tH\000\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132\032" + - ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + - "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\003\022>\n\006labels\030\004 \003(\0132..google.cloud.con" + - "fig.v1.Deployment.LabelsEntry\022<\n\005state\030\005" + - " \001(\0162(.google.cloud.config.v1.Deployment" + - ".StateB\003\340A\003\022\034\n\017latest_revision\030\007 \001(\tB\003\340A" + - "\003\022\031\n\014state_detail\030\t \001(\tB\003\340A\003\022E\n\nerror_co" + - "de\030\n \001(\0162,.google.cloud.config.v1.Deploy" + - "ment.ErrorCodeB\003\340A\003\022A\n\016delete_results\030\010 " + - "\001(\0132$.google.cloud.config.v1.ApplyResult" + - "sB\003\340A\003\022\031\n\014delete_build\030\013 \001(\tB\003\340A\003\022\030\n\013del" + - "ete_logs\030\014 \001(\tB\003\340A\003\022>\n\ttf_errors\030\r \003(\0132&" + - ".google.cloud.config.v1.TerraformErrorB\003" + - "\340A\003\022\027\n\nerror_logs\030\016 \001(\tB\003\340A\003\022&\n\024artifact" + - "s_gcs_bucket\030\017 \001(\tB\003\340A\001H\001\210\001\001\022G\n\017service_" + - "account\030\020 \001(\tB)\340A\001\372A#\n!iam.googleapis.co" + - "m/ServiceAccountH\002\210\001\001\022&\n\031import_existing" + - "_resources\030\021 \001(\010H\003\210\001\001\022F\n\013worker_pool\030\023 \001" + - "(\tB,\340A\001\372A&\n$cloudbuild.googleapis.com/Wo" + - "rkerPoolH\004\210\001\001\022E\n\nlock_state\030\024 \001(\0162,.goog" + - "le.cloud.config.v1.Deployment.LockStateB" + - "\003\340A\003\022\'\n\025tf_version_constraint\030\025 \001(\tB\003\340A\001" + - "H\005\210\001\001\022\027\n\ntf_version\030\026 \001(\tB\003\340A\003\022F\n\020quota_" + - "validation\030\027 \001(\0162\'.google.cloud.config.v" + - "1.QuotaValidationB\003\340A\001\032-\n\013LabelsEntry\022\013\n" + - "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"|\n\005State\022\025" + - "\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006A" + - "CTIVE\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004\022\n\n\006F" + - "AILED\020\005\022\r\n\tSUSPENDED\020\006\022\013\n\007DELETED\020\007\"\334\001\n\t" + - "ErrorCode\022\032\n\026ERROR_CODE_UNSPECIFIED\020\000\022\023\n" + - "\017REVISION_FAILED\020\001\022!\n\035CLOUD_BUILD_PERMIS" + - "SION_DENIED\020\003\022\033\n\027DELETE_BUILD_API_FAILED" + - "\020\005\022\033\n\027DELETE_BUILD_RUN_FAILED\020\006\022%\n!BUCKE" + - "T_CREATION_PERMISSION_DENIED\020\007\022\032\n\026BUCKET" + - "_CREATION_FAILED\020\010\"\201\001\n\tLockState\022\032\n\026LOCK" + - "_STATE_UNSPECIFIED\020\000\022\n\n\006LOCKED\020\001\022\014\n\010UNLO" + - "CKED\020\002\022\013\n\007LOCKING\020\003\022\r\n\tUNLOCKING\020\004\022\017\n\013LO" + - "CK_FAILED\020\005\022\021\n\rUNLOCK_FAILED\020\006:g\352Ad\n con" + - "fig.googleapis.com/Deployment\022@projects/" + - "{project}/locations/{location}/deploymen" + - "ts/{deployment}B\013\n\tblueprintB\027\n\025_artifac" + - "ts_gcs_bucketB\022\n\020_service_accountB\034\n\032_im" + - "port_existing_resourcesB\016\n\014_worker_poolB" + - "\030\n\026_tf_version_constraint\"\251\002\n\022TerraformB" + - "lueprint\022\031\n\ngcs_source\030\001 \001(\tB\003\340A\002H\000\022<\n\ng" + - "it_source\030\002 \001(\0132!.google.cloud.config.v1" + - ".GitSourceB\003\340A\002H\000\022Q\n\014input_values\030\004 \003(\0132" + - ";.google.cloud.config.v1.TerraformBluepr" + - "int.InputValuesEntry\032]\n\020InputValuesEntry" + - "\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google.cl" + - "oud.config.v1.TerraformVariable:\0028\001B\010\n\006s" + - "ource\"@\n\021TerraformVariable\022+\n\013input_valu" + - "e\030\005 \001(\0132\026.google.protobuf.Value\"\317\001\n\014Appl" + - "yResults\022\017\n\007content\030\001 \001(\t\022\021\n\tartifacts\030\002" + - " \001(\t\022B\n\007outputs\030\003 \003(\01321.google.cloud.con" + - "fig.v1.ApplyResults.OutputsEntry\032W\n\014Outp" + - "utsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.g" + - "oogle.cloud.config.v1.TerraformOutput:\0028" + - "\001\"K\n\017TerraformOutput\022\021\n\tsensitive\030\001 \001(\010\022" + - "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value\"\234" + - "\001\n\026ListDeploymentsRequest\0229\n\006parent\030\001 \001(" + - "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" + - "tion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + - "\001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\200\001" + - "\n\027ListDeploymentsResponse\0227\n\013deployments" + - "\030\001 \003(\0132\".google.cloud.config.v1.Deployme" + - "nt\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + - "le\030\003 \003(\t\"N\n\024GetDeploymentRequest\0226\n\004name" + - "\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.com/De" + - "ployment\"\231\001\n\024ListRevisionsRequest\0228\n\006par" + - "ent\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.com" + - "/Deployment\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005" + - " \001(\t\"z\n\025ListRevisionsResponse\0223\n\trevisio" + - "ns\030\001 \003(\0132 .google.cloud.config.v1.Revisi" + - "on\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + - "le\030\003 \003(\t\"J\n\022GetRevisionRequest\0224\n\004name\030\001" + - " \001(\tB&\340A\002\372A \n\036config.googleapis.com/Revi" + - "sion\"\306\001\n\027CreateDeploymentRequest\0229\n\006pare" + - "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c" + - "om/Location\022\032\n\rdeployment_id\030\002 \001(\tB\003\340A\002\022" + - ";\n\ndeployment\030\003 \001(\0132\".google.cloud.confi" + - "g.v1.DeploymentB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\t" + - "B\003\340A\001\"\245\001\n\027UpdateDeploymentRequest\0224\n\013upd" + - "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + - "skB\003\340A\001\022;\n\ndeployment\030\002 \001(\0132\".google.clo" + - "ud.config.v1.DeploymentB\003\340A\002\022\027\n\nrequest_" + - "id\030\003 \001(\tB\003\340A\001\"\240\002\n\027DeleteDeploymentReques" + - "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n config.googleap" + - "is.com/Deployment\022\027\n\nrequest_id\030\002 \001(\tB\003\340" + - "A\001\022\022\n\005force\030\003 \001(\010B\003\340A\001\022X\n\rdelete_policy\030" + - "\004 \001(\0162<.google.cloud.config.v1.DeleteDep" + - "loymentRequest.DeletePolicyB\003\340A\001\"F\n\014Dele" + - "tePolicy\022\035\n\031DELETE_POLICY_UNSPECIFIED\020\000\022" + - "\n\n\006DELETE\020\001\022\013\n\007ABANDON\020\002\"\301\003\n\021OperationMe" + - "tadata\022W\n\023deployment_metadata\030\010 \001(\01323.go" + - "ogle.cloud.config.v1.DeploymentOperation" + - "MetadataB\003\340A\003H\000\022Q\n\020preview_metadata\030\t \001(" + - "\01320.google.cloud.config.v1.PreviewOperat" + - "ionMetadataB\003\340A\003H\000\0224\n\013create_time\030\001 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end_" + - "time\030\002 \001(\0132\032.google.protobuf.TimestampB\003" + - "\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003" + - "\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026requ" + - "ested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_ver" + - "sion\030\007 \001(\tB\003\340A\003B\023\n\021resource_metadata\"\203\013\n" + - "\010Revision\022N\n\023terraform_blueprint\030\006 \001(\0132*" + - ".google.cloud.config.v1.TerraformBluepri" + - "ntB\003\340A\003H\000\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + - "\013update_time\030\003 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\022<\n\006action\030\004 \001(\0162\'.google.clo" + - "ud.config.v1.Revision.ActionB\003\340A\003\022:\n\005sta" + - "te\030\005 \001(\0162&.google.cloud.config.v1.Revisi" + - "on.StateB\003\340A\003\022@\n\rapply_results\030\007 \001(\0132$.g" + - "oogle.cloud.config.v1.ApplyResultsB\003\340A\003\022" + - "\031\n\014state_detail\030\010 \001(\tB\003\340A\003\022C\n\nerror_code" + - "\030\t \001(\0162*.google.cloud.config.v1.Revision" + - ".ErrorCodeB\003\340A\003\022\022\n\005build\030\n \001(\tB\003\340A\003\022\021\n\004l" + - "ogs\030\013 \001(\tB\003\340A\003\022>\n\ttf_errors\030\014 \003(\0132&.goog" + - "le.cloud.config.v1.TerraformErrorB\003\340A\003\022\027" + - "\n\nerror_logs\030\r \001(\tB\003\340A\003\022B\n\017service_accou" + - "nt\030\016 \001(\tB)\340A\003\372A#\n!iam.googleapis.com/Ser" + - "viceAccount\022&\n\031import_existing_resources" + - "\030\017 \001(\010B\003\340A\003\022A\n\013worker_pool\030\021 \001(\tB,\340A\003\372A&" + - "\n$cloudbuild.googleapis.com/WorkerPool\022\"" + - "\n\025tf_version_constraint\030\022 \001(\tB\003\340A\003\022\027\n\ntf" + - "_version\030\023 \001(\tB\003\340A\003\022%\n\030quota_validation_" + - "results\030\035 \001(\tB\003\340A\003\022F\n\020quota_validation\030\024" + - " \001(\0162\'.google.cloud.config.v1.QuotaValid" + - "ationB\003\340A\001\"D\n\006Action\022\026\n\022ACTION_UNSPECIFI" + - "ED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003" + - "\"E\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010APPL" + - "YING\020\001\022\013\n\007APPLIED\020\002\022\n\n\006FAILED\020\003\"\237\001\n\tErro" + - "rCode\022\032\n\026ERROR_CODE_UNSPECIFIED\020\000\022!\n\035CLO" + - "UD_BUILD_PERMISSION_DENIED\020\001\022\032\n\026APPLY_BU" + - "ILD_API_FAILED\020\004\022\032\n\026APPLY_BUILD_RUN_FAIL" + - "ED\020\005\022\033\n\027QUOTA_VALIDATION_FAILED\020\007:z\352Aw\n\036" + - "config.googleapis.com/Revision\022Uprojects" + - "/{project}/locations/{location}/deployme" + - "nts/{deployment}/revisions/{revision}B\013\n" + - "\tblueprint\"\204\001\n\016TerraformError\022\030\n\020resourc" + - "e_address\030\001 \001(\t\022\032\n\022http_response_code\030\002 " + - "\001(\005\022\031\n\021error_description\030\003 \001(\t\022!\n\005error\030" + - "\004 \001(\0132\022.google.rpc.Status\"v\n\tGitSource\022\026" + - "\n\004repo\030\001 \001(\tB\003\340A\001H\000\210\001\001\022\033\n\tdirectory\030\002 \001(" + - "\tB\003\340A\001H\001\210\001\001\022\025\n\003ref\030\003 \001(\tB\003\340A\001H\002\210\001\001B\007\n\005_r" + - "epoB\014\n\n_directoryB\006\n\004_ref\"\237\004\n\033Deployment" + - "OperationMetadata\022P\n\004step\030\001 \001(\0162B.google" + - ".cloud.config.v1.DeploymentOperationMeta" + - "data.DeploymentStep\022;\n\rapply_results\030\002 \001" + - "(\0132$.google.cloud.config.v1.ApplyResults" + - "\022\022\n\005build\030\003 \001(\tB\003\340A\003\022\021\n\004logs\030\004 \001(\tB\003\340A\003\"" + - "\311\002\n\016DeploymentStep\022\037\n\033DEPLOYMENT_STEP_UN" + - "SPECIFIED\020\000\022\034\n\030PREPARING_STORAGE_BUCKET\020" + - "\001\022\031\n\025DOWNLOADING_BLUEPRINT\020\002\022\023\n\017RUNNING_" + - "TF_INIT\020\003\022\023\n\017RUNNING_TF_PLAN\020\004\022\024\n\020RUNNIN" + - "G_TF_APPLY\020\005\022\026\n\022RUNNING_TF_DESTROY\020\006\022\027\n\023" + - "RUNNING_TF_VALIDATE\020\007\022\030\n\024UNLOCKING_DEPLO" + - "YMENT\020\010\022\r\n\tSUCCEEDED\020\t\022\n\n\006FAILED\020\n\022\031\n\025VA" + - "LIDATING_REPOSITORY\020\013\022\034\n\030RUNNING_QUOTA_V" + - "ALIDATION\020\014\"\330\005\n\010Resource\022\021\n\004name\030\001 \001(\tB\003" + - "\340A\003\022J\n\016terraform_info\030\002 \001(\0132-.google.clo" + - "ud.config.v1.ResourceTerraformInfoB\003\340A\003\022" + - "H\n\ncai_assets\030\003 \003(\0132/.google.cloud.confi" + - "g.v1.Resource.CaiAssetsEntryB\003\340A\003\022<\n\006int" + - "ent\030\004 \001(\0162\'.google.cloud.config.v1.Resou" + - "rce.IntentB\003\340A\003\022:\n\005state\030\005 \001(\0162&.google." + - "cloud.config.v1.Resource.StateB\003\340A\003\032Y\n\016C" + - "aiAssetsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(" + - "\0132\'.google.cloud.config.v1.ResourceCAIIn" + - "fo:\0028\001\"a\n\006Intent\022\026\n\022INTENT_UNSPECIFIED\020\000" + - "\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\022\014\n\010" + - "RECREATE\020\004\022\r\n\tUNCHANGED\020\005\"X\n\005State\022\025\n\021ST" + - "ATE_UNSPECIFIED\020\000\022\013\n\007PLANNED\020\001\022\017\n\013IN_PRO" + - "GRESS\020\002\022\016\n\nRECONCILED\020\003\022\n\n\006FAILED\020\004:\220\001\352A" + - "\214\001\n\036config.googleapis.com/Resource\022jproj" + - "ects/{project}/locations/{location}/depl" + - "oyments/{deployment}/revisions/{revision" + - "}/resources/{resource}\"B\n\025ResourceTerraf" + - "ormInfo\022\017\n\007address\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\n" + - "\n\002id\030\003 \001(\t\"-\n\017ResourceCAIInfo\022\032\n\022full_re" + - "source_name\030\001 \001(\t\"J\n\022GetResourceRequest\022" + - "4\n\004name\030\001 \001(\tB&\340A\002\372A \n\036config.googleapis" + - ".com/Resource\"\227\001\n\024ListResourcesRequest\0226" + - "\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036config.googleapi" + - "s.com/Revision\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_b" + - "y\030\005 \001(\t\"z\n\025ListResourcesResponse\0223\n\treso" + - "urces\030\001 \003(\0132 .google.cloud.config.v1.Res" + - "ource\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac" + - "hable\030\003 \003(\t\"$\n\tStatefile\022\027\n\nsigned_uri\030\001" + - " \001(\tB\003\340A\003\"p\n ExportDeploymentStatefileRe" + - "quest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n config.go" + - "ogleapis.com/Deployment\022\022\n\005draft\030\003 \001(\010B\003" + - "\340A\001\"X\n\036ExportRevisionStatefileRequest\0226\n" + - "\006parent\030\001 \001(\tB&\340A\002\372A \n\036config.googleapis" + - ".com/Revision\"\201\001\n\026ImportStatefileRequest" + - "\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n config.googlea" + - "pis.com/Deployment\022\024\n\007lock_id\030\002 \001(\003B\003\340A\002" + - "\022\027\n\nskip_draft\030\003 \001(\010B\003\340A\001\"f\n\026DeleteState" + - "fileRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n confi" + - "g.googleapis.com/Deployment\022\024\n\007lock_id\030\002" + - " \001(\003B\003\340A\002\"O\n\025LockDeploymentRequest\0226\n\004na" + - "me\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.com/" + - "Deployment\"g\n\027UnlockDeploymentRequest\0226\n" + - "\004name\030\001 \001(\tB(\340A\002\372A\"\n config.googleapis.c" + - "om/Deployment\022\024\n\007lock_id\030\002 \001(\003B\003\340A\002\"O\n\025E" + - "xportLockInfoRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372" + - "A\"\n config.googleapis.com/Deployment\"\213\001\n" + - "\010LockInfo\022\017\n\007lock_id\030\001 \001(\003\022\021\n\toperation\030" + - "\002 \001(\t\022\014\n\004info\030\003 \001(\t\022\013\n\003who\030\004 \001(\t\022\017\n\007vers" + - "ion\030\005 \001(\t\022/\n\013create_time\030\006 \001(\0132\032.google." + - "protobuf.Timestamp\"\234\014\n\007Preview\022I\n\023terraf" + - "orm_blueprint\030\006 \001(\0132*.google.cloud.confi" + - "g.v1.TerraformBlueprintH\000\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\010\0224\n\013create_time\030\002 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022@\n\006labels\030\003 \003(\0132+.goo" + - "gle.cloud.config.v1.Preview.LabelsEntryB" + - "\003\340A\001\0229\n\005state\030\004 \001(\0162%.google.cloud.confi" + - "g.v1.Preview.StateB\003\340A\003\022<\n\ndeployment\030\005 " + - "\001(\tB(\340A\001\372A\"\n config.googleapis.com/Deplo" + - "yment\022F\n\014preview_mode\030\017 \001(\0162+.google.clo" + - "ud.config.v1.Preview.PreviewModeB\003\340A\001\022B\n" + - "\017service_account\030\007 \001(\tB)\340A\001\372A#\n!iam.goog" + - "leapis.com/ServiceAccount\022&\n\024artifacts_g" + - "cs_bucket\030\010 \001(\tB\003\340A\001H\001\210\001\001\022F\n\013worker_pool" + - "\030\t \001(\tB,\340A\001\372A&\n$cloudbuild.googleapis.co" + - "m/WorkerPoolH\002\210\001\001\022B\n\nerror_code\030\n \001(\0162)." + - "google.cloud.config.v1.Preview.ErrorCode" + - "B\003\340A\003\022-\n\014error_status\030\013 \001(\0132\022.google.rpc" + - ".StatusB\003\340A\003\022\022\n\005build\030\014 \001(\tB\003\340A\003\022>\n\ttf_e" + - "rrors\030\r \003(\0132&.google.cloud.config.v1.Ter" + - "raformErrorB\003\340A\003\022\027\n\nerror_logs\030\016 \001(\tB\003\340A" + - "\003\022H\n\021preview_artifacts\030\020 \001(\0132(.google.cl" + - "oud.config.v1.PreviewArtifactsB\003\340A\003\022\021\n\004l" + - "ogs\030\021 \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"{\n\005State\022\025\n\021STATE_" + - "UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\r\n\tSUCCEEDED" + - "\020\002\022\014\n\010APPLYING\020\003\022\t\n\005STALE\020\004\022\014\n\010DELETING\020" + - "\005\022\n\n\006FAILED\020\006\022\013\n\007DELETED\020\007\"D\n\013PreviewMod" + - "e\022\034\n\030PREVIEW_MODE_UNSPECIFIED\020\000\022\013\n\007DEFAU" + - "LT\020\001\022\n\n\006DELETE\020\002\"\355\001\n\tErrorCode\022\032\n\026ERROR_" + - "CODE_UNSPECIFIED\020\000\022!\n\035CLOUD_BUILD_PERMIS" + - "SION_DENIED\020\001\022%\n!BUCKET_CREATION_PERMISS" + - "ION_DENIED\020\002\022\032\n\026BUCKET_CREATION_FAILED\020\003" + - "\022\"\n\036DEPLOYMENT_LOCK_ACQUIRE_FAILED\020\004\022\034\n\030" + - "PREVIEW_BUILD_API_FAILED\020\005\022\034\n\030PREVIEW_BU" + - "ILD_RUN_FAILED\020\006:q\352An\n\035config.googleapis" + - ".com/Preview\022:projects/{project}/locatio" + - "ns/{location}/previews/{preview}*\010previe" + - "ws2\007previewB\013\n\tblueprintB\027\n\025_artifacts_g" + - "cs_bucketB\016\n\014_worker_pool\"\344\003\n\030PreviewOpe" + - "rationMetadata\022J\n\004step\030\001 \001(\0162<.google.cl" + - "oud.config.v1.PreviewOperationMetadata.P" + - "reviewStep\022C\n\021preview_artifacts\030\002 \001(\0132(." + - "google.cloud.config.v1.PreviewArtifacts\022" + - "\021\n\004logs\030\003 \001(\tB\003\340A\003\022\022\n\005build\030\004 \001(\tB\003\340A\003\"\217" + - "\002\n\013PreviewStep\022\034\n\030PREVIEW_STEP_UNSPECIFI" + - "ED\020\000\022\034\n\030PREPARING_STORAGE_BUCKET\020\001\022\031\n\025DO" + - "WNLOADING_BLUEPRINT\020\002\022\023\n\017RUNNING_TF_INIT" + - "\020\003\022\023\n\017RUNNING_TF_PLAN\020\004\022\027\n\023FETCHING_DEPL" + - "OYMENT\020\005\022\026\n\022LOCKING_DEPLOYMENT\020\006\022\030\n\024UNLO" + - "CKING_DEPLOYMENT\020\007\022\r\n\tSUCCEEDED\020\010\022\n\n\006FAI" + - "LED\020\t\022\031\n\025VALIDATING_REPOSITORY\020\n\"@\n\020Prev" + - "iewArtifacts\022\024\n\007content\030\001 \001(\tB\003\340A\003\022\026\n\tar" + - "tifacts\030\002 \001(\tB\003\340A\003\"\302\001\n\024CreatePreviewRequ" + - "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g" + - "oogleapis.com/Location\022\027\n\npreview_id\030\002 \001" + - "(\tB\003\340A\001\0225\n\007preview\030\003 \001(\0132\037.google.cloud." + - "config.v1.PreviewB\003\340A\002\022\037\n\nrequest_id\030\004 \001" + - "(\tB\013\340A\001\342\214\317\327\010\002\010\001\"H\n\021GetPreviewRequest\0223\n\004" + - "name\030\001 \001(\tB%\340A\002\372A\037\n\035config.googleapis.co" + - "m/Preview\"\255\001\n\023ListPreviewsRequest\0229\n\006par" + - "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + - "com/Location\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\023\n\006filter\030\004 \001(\tB\003\340" + - "A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"w\n\024ListPreview" + - "sResponse\0221\n\010previews\030\001 \003(\0132\037.google.clo" + - "ud.config.v1.Preview\022\027\n\017next_page_token\030" + - "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"l\n\024DeletePrev" + - "iewRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035config" + - ".googleapis.com/Preview\022\037\n\nrequest_id\030\002 " + - "\001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"S\n\032ExportPreviewResultR" + - "equest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\n\035config.g" + - "oogleapis.com/Preview\"Y\n\033ExportPreviewRe" + - "sultResponse\022:\n\006result\030\001 \001(\0132%.google.cl" + - "oud.config.v1.PreviewResultB\003\340A\003\"M\n\rPrev" + - "iewResult\022\036\n\021binary_signed_uri\030\001 \001(\tB\003\340A" + - "\003\022\034\n\017json_signed_uri\030\002 \001(\tB\003\340A\003\"Z\n\032GetTe" + - "rraformVersionRequest\022<\n\004name\030\001 \001(\tB.\340A\002" + - "\372A(\n&config.googleapis.com/TerraformVers" + - "ion\"\266\001\n\034ListTerraformVersionsRequest\0229\n\006" + - "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" + - "is.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\023\n\006filter\030\004 \001(\t" + - "B\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"\223\001\n\035ListTer" + - "raformVersionsResponse\022D\n\022terraform_vers" + - "ions\030\001 \003(\0132(.google.cloud.config.v1.Terr" + - "aformVersion\022\027\n\017next_page_token\030\002 \001(\t\022\023\n" + - "\013unreachable\030\003 \003(\t\"\255\004\n\020TerraformVersion\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\010\022B\n\005state\030\002 \001(\0162..goog" + - "le.cloud.config.v1.TerraformVersion.Stat" + - "eB\003\340A\003\0225\n\014support_time\030\003 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003\022<\n\016deprecate_time\030" + - "\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003H\000" + - "\210\001\001\022;\n\robsolete_time\030\005 \001(\0132\032.google.prot" + - "obuf.TimestampB\003\340A\003H\001\210\001\001\"H\n\005State\022\025\n\021STA" + - "TE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\016\n\nDEPRECAT" + - "ED\020\002\022\014\n\010OBSOLETE\020\003:\240\001\352A\234\001\n&config.google" + - "apis.com/TerraformVersion\022Mprojects/{pro" + - "ject}/locations/{location}/terraformVers" + - "ions/{terraform_version}*\021terraformVersi" + - "ons2\020terraformVersionB\021\n\017_deprecate_time" + - "B\020\n\016_obsolete_time*N\n\017QuotaValidation\022 \n" + - "\034QUOTA_VALIDATION_UNSPECIFIED\020\000\022\013\n\007ENABL" + - "ED\020\001\022\014\n\010ENFORCED\020\0022\247#\n\006Config\022\264\001\n\017ListDe" + - "ployments\022..google.cloud.config.v1.ListD" + - "eploymentsRequest\032/.google.cloud.config." + - "v1.ListDeploymentsResponse\"@\332A\006parent\202\323\344" + - "\223\0021\022//v1/{parent=projects/*/locations/*}" + - "/deployments\022\241\001\n\rGetDeployment\022,.google." + - "cloud.config.v1.GetDeploymentRequest\032\".g" + - "oogle.cloud.config.v1.Deployment\">\332A\004nam" + - "e\202\323\344\223\0021\022//v1/{name=projects/*/locations/" + - "*/deployments/*}\022\354\001\n\020CreateDeployment\022/." + - "google.cloud.config.v1.CreateDeploymentR" + - "equest\032\035.google.longrunning.Operation\"\207\001" + - "\312A\037\n\nDeployment\022\021OperationMetadata\332A\037par" + - "ent,deployment,deployment_id\202\323\344\223\002=\"//v1/" + - "{parent=projects/*/locations/*}/deployme" + - "nts:\ndeployment\022\356\001\n\020UpdateDeployment\022/.g" + - "oogle.cloud.config.v1.UpdateDeploymentRe" + - "quest\032\035.google.longrunning.Operation\"\211\001\312" + - "A\037\n\nDeployment\022\021OperationMetadata\332A\026depl" + - "oyment,update_mask\202\323\344\223\002H2:/v1/{deploymen" + - "t.name=projects/*/locations/*/deployment" + - "s/*}:\ndeployment\022\304\001\n\020DeleteDeployment\022/." + - "google.cloud.config.v1.DeleteDeploymentR" + - "equest\032\035.google.longrunning.Operation\"`\312" + - "A\037\n\nDeployment\022\021OperationMetadata\332A\004name" + - "\202\323\344\223\0021*//v1/{name=projects/*/locations/*" + - "/deployments/*}\022\272\001\n\rListRevisions\022,.goog" + - "le.cloud.config.v1.ListRevisionsRequest\032" + - "-.google.cloud.config.v1.ListRevisionsRe" + - "sponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{parent=pro" + - "jects/*/locations/*/deployments/*}/revis" + - "ions\022\247\001\n\013GetRevision\022*.google.cloud.conf" + - "ig.v1.GetRevisionRequest\032 .google.cloud." + - "config.v1.Revision\"J\332A\004name\202\323\344\223\002=\022;/v1/{" + - "name=projects/*/locations/*/deployments/" + - "*/revisions/*}\022\263\001\n\013GetResource\022*.google." + - "cloud.config.v1.GetResourceRequest\032 .goo" + - "gle.cloud.config.v1.Resource\"V\332A\004name\202\323\344" + - "\223\002I\022G/v1/{name=projects/*/locations/*/de" + - "ployments/*/revisions/*/resources/*}\022\306\001\n" + - "\rListResources\022,.google.cloud.config.v1." + - "ListResourcesRequest\032-.google.cloud.conf" + - "ig.v1.ListResourcesResponse\"X\332A\006parent\202\323" + - "\344\223\002I\022G/v1/{parent=projects/*/locations/*" + - "/deployments/*/revisions/*}/resources\022\302\001" + - "\n\031ExportDeploymentStatefile\0228.google.clo" + - "ud.config.v1.ExportDeploymentStatefileRe" + - "quest\032!.google.cloud.config.v1.Statefile" + - "\"H\202\323\344\223\002B\"=/v1/{parent=projects/*/locatio" + - "ns/*/deployments/*}:exportState:\001*\022\312\001\n\027E" + - "xportRevisionStatefile\0226.google.cloud.co" + - "nfig.v1.ExportRevisionStatefileRequest\032!" + - ".google.cloud.config.v1.Statefile\"T\202\323\344\223\002" + - "N\"I/v1/{parent=projects/*/locations/*/de" + - "ployments/*/revisions/*}:exportState:\001*\022" + - "\277\001\n\017ImportStatefile\022..google.cloud.confi" + - "g.v1.ImportStatefileRequest\032!.google.clo" + - "ud.config.v1.Statefile\"Y\332A\016parent,lock_i" + - "d\202\323\344\223\002B\"=/v1/{parent=projects/*/location" + - "s/*/deployments/*}:importState:\001*\022\250\001\n\017De" + - "leteStatefile\022..google.cloud.config.v1.D" + - "eleteStatefileRequest\032\026.google.protobuf." + - "Empty\"M\332A\004name\202\323\344\223\002@\";/v1/{name=projects" + - "/*/locations/*/deployments/*}:deleteStat" + - "e:\001*\022\310\001\n\016LockDeployment\022-.google.cloud.c" + - "onfig.v1.LockDeploymentRequest\032\035.google." + - "longrunning.Operation\"h\312A\037\n\nDeployment\022\021" + - "OperationMetadata\332A\004name\202\323\344\223\0029\"4/v1/{nam" + - "e=projects/*/locations/*/deployments/*}:" + - "lock:\001*\022\326\001\n\020UnlockDeployment\022/.google.cl" + - "oud.config.v1.UnlockDeploymentRequest\032\035.", - "google.longrunning.Operation\"r\312A\037\n\nDeplo" + - "yment\022\021OperationMetadata\332A\014name,lock_id\202" + - "\323\344\223\002;\"6/v1/{name=projects/*/locations/*/" + - "deployments/*}:unlock:\001*\022\254\001\n\016ExportLockI" + - "nfo\022-.google.cloud.config.v1.ExportLockI" + - "nfoRequest\032 .google.cloud.config.v1.Lock" + - "Info\"I\332A\004name\202\323\344\223\002<\022:/v1/{name=projects/" + - "*/locations/*/deployments/*}:exportLock\022" + - "\313\001\n\rCreatePreview\022,.google.cloud.config." + - "v1.CreatePreviewRequest\032\035.google.longrun" + - "ning.Operation\"m\312A\034\n\007Preview\022\021OperationM" + - "etadata\332A\016parent,preview\202\323\344\223\0027\",/v1/{par" + - "ent=projects/*/locations/*}/previews:\007pr" + - "eview\022\225\001\n\nGetPreview\022).google.cloud.conf" + - "ig.v1.GetPreviewRequest\032\037.google.cloud.c" + - "onfig.v1.Preview\";\332A\004name\202\323\344\223\002.\022,/v1/{na" + - "me=projects/*/locations/*/previews/*}\022\250\001" + - "\n\014ListPreviews\022+.google.cloud.config.v1." + - "ListPreviewsRequest\032,.google.cloud.confi" + - "g.v1.ListPreviewsResponse\"=\332A\006parent\202\323\344\223" + - "\002.\022,/v1/{parent=projects/*/locations/*}/" + - "previews\022\270\001\n\rDeletePreview\022,.google.clou" + - "d.config.v1.DeletePreviewRequest\032\035.googl" + - "e.longrunning.Operation\"Z\312A\034\n\007Preview\022\021O" + - "perationMetadata\332A\004name\202\323\344\223\002.*,/v1/{name" + - "=projects/*/locations/*/previews/*}\022\300\001\n\023" + - "ExportPreviewResult\0222.google.cloud.confi" + - "g.v1.ExportPreviewResultRequest\0323.google" + - ".cloud.config.v1.ExportPreviewResultResp" + - "onse\"@\202\323\344\223\002:\"5/v1/{parent=projects/*/loc" + - "ations/*/previews/*}:export:\001*\022\314\001\n\025ListT" + - "erraformVersions\0224.google.cloud.config.v" + - "1.ListTerraformVersionsRequest\0325.google." + - "cloud.config.v1.ListTerraformVersionsRes" + - "ponse\"F\332A\006parent\202\323\344\223\0027\0225/v1/{parent=proj" + - "ects/*/locations/*}/terraformVersions\022\271\001" + - "\n\023GetTerraformVersion\0222.google.cloud.con" + - "fig.v1.GetTerraformVersionRequest\032(.goog" + - "le.cloud.config.v1.TerraformVersion\"D\332A\004" + - "name\202\323\344\223\0027\0225/v1/{name=projects/*/locatio" + - "ns/*/terraformVersions/*}\032I\312A\025config.goo" + - "gleapis.com\322A.https://www.googleapis.com" + - "/auth/cloud-platformB\374\002\n\032com.google.clou" + - "d.config.v1B\013ConfigProtoP\001Z2cloud.google" + - ".com/go/config/apiv1/configpb;configpb\252\002" + - "\026Google.Cloud.Config.V1\312\002\026Google\\Cloud\\C" + - "onfig\\V1\352\002 Google::Cloud::ConfigService:" + - ":V1\352AY\n!iam.googleapis.com/ServiceAccoun" + - "t\0224projects/{project}/serviceAccounts/{s" + - "ervice_account}\352Ai\n$cloudbuild.googleapi" + - "s.com/WorkerPool\022Aprojects/{project}/loc" + - "ations/{location}/workerPools/{worker_po" + - "ol}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.FieldInfoProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_config_v1_Deployment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_config_v1_Deployment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Deployment_descriptor, - new java.lang.String[] { "TerraformBlueprint", "Name", "CreateTime", "UpdateTime", "Labels", "State", "LatestRevision", "StateDetail", "ErrorCode", "DeleteResults", "DeleteBuild", "DeleteLogs", "TfErrors", "ErrorLogs", "ArtifactsGcsBucket", "ServiceAccount", "ImportExistingResources", "WorkerPool", "LockState", "TfVersionConstraint", "TfVersion", "QuotaValidation", "Blueprint", }); - internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor = - internal_static_google_cloud_config_v1_Deployment_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_config_v1_Deployment_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Deployment_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_config_v1_TerraformBlueprint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor, - new java.lang.String[] { "GcsSource", "GitSource", "InputValues", "Source", }); - internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor = - internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_config_v1_TerraformVariable_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_TerraformVariable_descriptor, - new java.lang.String[] { "InputValue", }); - internal_static_google_cloud_config_v1_ApplyResults_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ApplyResults_descriptor, - new java.lang.String[] { "Content", "Artifacts", "Outputs", }); - internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor = - internal_static_google_cloud_config_v1_ApplyResults_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ApplyResults_OutputsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_config_v1_TerraformOutput_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_TerraformOutput_descriptor, - new java.lang.String[] { "Sensitive", "Value", }); - internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor, - new java.lang.String[] { "Deployments", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor, - new java.lang.String[] { "Revisions", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor, - new java.lang.String[] { "Parent", "DeploymentId", "Deployment", "RequestId", }); - internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Deployment", "RequestId", }); - internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Force", "DeletePolicy", }); - internal_static_google_cloud_config_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_OperationMetadata_descriptor, - new java.lang.String[] { "DeploymentMetadata", "PreviewMetadata", "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", "ResourceMetadata", }); - internal_static_google_cloud_config_v1_Revision_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_config_v1_Revision_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Revision_descriptor, - new java.lang.String[] { "TerraformBlueprint", "Name", "CreateTime", "UpdateTime", "Action", "State", "ApplyResults", "StateDetail", "ErrorCode", "Build", "Logs", "TfErrors", "ErrorLogs", "ServiceAccount", "ImportExistingResources", "WorkerPool", "TfVersionConstraint", "TfVersion", "QuotaValidationResults", "QuotaValidation", "Blueprint", }); - internal_static_google_cloud_config_v1_TerraformError_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_TerraformError_descriptor, - new java.lang.String[] { "ResourceAddress", "HttpResponseCode", "ErrorDescription", "Error", }); - internal_static_google_cloud_config_v1_GitSource_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_GitSource_descriptor, - new java.lang.String[] { "Repo", "Directory", "Ref", }); - internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor, - new java.lang.String[] { "Step", "ApplyResults", "Build", "Logs", }); - internal_static_google_cloud_config_v1_Resource_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_config_v1_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Resource_descriptor, - new java.lang.String[] { "Name", "TerraformInfo", "CaiAssets", "Intent", "State", }); - internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor = - internal_static_google_cloud_config_v1_Resource_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Resource_CaiAssetsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor, - new java.lang.String[] { "Address", "Type", "Id", }); - internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor, - new java.lang.String[] { "FullResourceName", }); - internal_static_google_cloud_config_v1_GetResourceRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_GetResourceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor, - new java.lang.String[] { "Resources", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_config_v1_Statefile_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Statefile_descriptor, - new java.lang.String[] { "SignedUri", }); - internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor, - new java.lang.String[] { "Parent", "Draft", }); - internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor, - new java.lang.String[] { "Parent", "LockId", "SkipDraft", }); - internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor, - new java.lang.String[] { "Name", "LockId", }); - internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor, - new java.lang.String[] { "Name", "LockId", }); - internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_LockInfo_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_LockInfo_descriptor, - new java.lang.String[] { "LockId", "Operation", "Info", "Who", "Version", "CreateTime", }); - internal_static_google_cloud_config_v1_Preview_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_config_v1_Preview_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Preview_descriptor, - new java.lang.String[] { "TerraformBlueprint", "Name", "CreateTime", "Labels", "State", "Deployment", "PreviewMode", "ServiceAccount", "ArtifactsGcsBucket", "WorkerPool", "ErrorCode", "ErrorStatus", "Build", "TfErrors", "ErrorLogs", "PreviewArtifacts", "Logs", "Blueprint", }); - internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor = - internal_static_google_cloud_config_v1_Preview_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_config_v1_Preview_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_Preview_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor, - new java.lang.String[] { "Step", "PreviewArtifacts", "Logs", "Build", }); - internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor, - new java.lang.String[] { "Content", "Artifacts", }); - internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor, - new java.lang.String[] { "Parent", "PreviewId", "Preview", "RequestId", }); - internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor, - new java.lang.String[] { "Previews", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor, - new java.lang.String[] { "Result", }); - internal_static_google_cloud_config_v1_PreviewResult_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_PreviewResult_descriptor, - new java.lang.String[] { "BinarySignedUri", "JsonSignedUri", }); - internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor, - new java.lang.String[] { "TerraformVersions", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_config_v1_TerraformVersion_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_config_v1_TerraformVersion_descriptor, - new java.lang.String[] { "Name", "State", "SupportTime", "DeprecateTime", "ObsoleteTime", }); - 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.FieldInfoProto.fieldInfo); - 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); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.FieldInfoProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java deleted file mode 100644 index eac7cfbe39be..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportLockInfoRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface ExportLockInfoRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportLockInfoRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the deployment in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the deployment in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java deleted file mode 100644 index ab9df03b5fb5..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface ExportPreviewResultRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportPreviewResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The preview whose results should be exported. The preview value
-   * is in the format:
-   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The preview whose results should be exported. The preview value
-   * is in the format:
-   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java deleted file mode 100644 index e604fdf8c948..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportPreviewResultResponseOrBuilder.java +++ /dev/null @@ -1,37 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface ExportPreviewResultResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportPreviewResultResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Signed URLs for accessing the plan files.
-   * 
- * - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return Whether the result field is set. - */ - boolean hasResult(); - /** - *
-   * Output only. Signed URLs for accessing the plan files.
-   * 
- * - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The result. - */ - com.google.cloud.config.v1.PreviewResult getResult(); - /** - *
-   * Output only. Signed URLs for accessing the plan files.
-   * 
- * - * .google.cloud.config.v1.PreviewResult result = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.cloud.config.v1.PreviewResultOrBuilder getResultOrBuilder(); -} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java deleted file mode 100644 index 8f2ff42b7393..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExportRevisionStatefileRequestOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface ExportRevisionStatefileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExportRevisionStatefileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent in whose context the statefile is listed. The parent
-   * value is in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent in whose context the statefile is listed. The parent
-   * value is in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java deleted file mode 100644 index 3cfe54736ed8..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface GetDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the deployment. Format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the deployment. Format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java deleted file mode 100644 index f822aa3c5d0c..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetPreviewRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface GetPreviewRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetPreviewRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the preview. Format:
-   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the preview. Format:
-   * 'projects/{project_id}/locations/{location}/previews/{preview}'.
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java deleted file mode 100644 index 993db095ef89..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetResourceRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface GetResourceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetResourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Resource in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Resource in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java deleted file mode 100644 index 7fbd6125318e..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetRevisionRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface GetRevisionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetRevisionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Revision in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Revision in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java deleted file mode 100644 index c70a5825f9d1..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetTerraformVersionRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface GetTerraformVersionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetTerraformVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the TerraformVersion. Format:
-   * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the TerraformVersion. Format:
-   * 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java deleted file mode 100644 index 22adea1a21ed..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/LockDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface LockDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.LockDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the deployment in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the deployment in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * 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/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java b/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java deleted file mode 100644 index 6c36d8cc28da..000000000000 --- a/owl-bot-staging/java-infra-manager/v1/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UnlockDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,42 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/config/v1/config.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.config.v1; - -public interface UnlockDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.UnlockDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the deployment in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the deployment in the format:
-   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Required. Lock ID of the lock file to be unlocked.
-   * 
- * - * int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The lockId. - */ - long getLockId(); -}